perf probe: Warn user to rebuild target with debuginfo
[deliverable/linux.git] / tools / perf / util / data.c
index 55de44ecebefb5aa74365eb0b04294cfb186585a..29d720cf5844763f300611b85e503cc1e6013bf8 100644 (file)
@@ -7,6 +7,7 @@
 
 #include "data.h"
 #include "util.h"
+#include "debug.h"
 
 static bool check_pipe(struct perf_data_file *file)
 {
@@ -65,7 +66,7 @@ static int open_file_read(struct perf_data_file *file)
                goto out_close;
 
        if (!file->force && st.st_uid && (st.st_uid != geteuid())) {
-               pr_err("file %s not owned by current user or root\n",
+               pr_err("File %s not owned by current user or root (use -f to override)\n",
                       file->path);
                goto out_close;
        }
This page took 0.099775 seconds and 5 git commands to generate.