[PATCH 00/10] perf tools: Support using -f to override file ownership for perf commands

From: Yunlong Song
Date: Thu Apr 02 2015 - 09:48:07 EST


Hi,
Enable perf commands to use perf file when it is not owned by current
user or root.

Yunlong Song (10):
perf tools: Support using -f to override perf.data file ownership for
evlist
perf tools: Support using -f to override perf.data file ownership for
inject
perf tools: Support using -f to override perf.data file ownership for
kmem
perf tools: Support using -f to override perf.data.guest file
ownership for kvm
perf tools: Support using -f to override perf.data file ownership for
lock
perf tools: Support using -f to override perf.data file ownership for
mem
perf tools: Support using -f to override perf.data file ownership for
script
perf tools: Support using -f to override perf.data file ownership for
timechart
perf tools: Support using -f to override perf.data file ownership for
trace
perf tools: Support using -f to override perf.data file ownership for
data convert

tools/perf/builtin-data.c | 4 +++-
tools/perf/builtin-evlist.c | 2 ++
tools/perf/builtin-inject.c | 1 +
tools/perf/builtin-kmem.c | 9 +++++----
tools/perf/builtin-kvm.c | 2 ++
tools/perf/builtin-lock.c | 5 +++++
tools/perf/builtin-mem.c | 3 +++
tools/perf/builtin-script.c | 9 +++++----
tools/perf/builtin-timechart.c | 3 +++
tools/perf/builtin-trace.c | 3 +++
tools/perf/util/data-convert-bt.c | 3 ++-
tools/perf/util/data-convert-bt.h | 2 +-
tools/perf/util/evsel.h | 1 +
tools/perf/util/kvm-stat.h | 1 +
14 files changed, 37 insertions(+), 11 deletions(-)

--
1.8.5.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/