perf tools: Suggest using -f to override perf.data file ownership message
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 8 Jul 2014 15:40:11 +0000 (12:40 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 8 Jul 2014 15:40:11 +0000 (12:40 -0300)
commit071266bf5b6a4f41250d2b26b000f1d2f9620afe
tree697b97656af8f9d486dc7965948eed606ee9ebf9
parentd400a68d1f1e7a1fc7c5caf9024d4e67b218558d
perf tools: Suggest using -f to override perf.data file ownership message

  # id
  uid=0(root) gid=0(root) groups=0(root)
  # ls -la perf.data
  -rw-------. 1 acme acme 20720 Jul  8 11:35 perf.data

Previously:

  # perf report
  file perf.data not owned by current user or root

Now:

  # perf report
  File perf.data not owned by current user or root (use -f to override)

Suggested-by: Ingo Molnar <mingo@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-0j2wuuegnhv3gljbil8ld6kx@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/data.c