OSDN Git Service

perf trace: Clarify that -e is about syscalls, not perf events in general
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 23 Apr 2015 15:02:07 +0000 (12:02 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 29 Apr 2015 13:38:04 +0000 (10:38 -0300)
commitd303e85a5c19eb8d913951d1aa81556fc20b20af
tree209009772af6ecee35aeeba767a7a45f18fa191d
parentfa0e4ffe06f0823abdf6c401c340c08ba8977fad
perf trace: Clarify that -e is about syscalls, not perf events in general

This comes from the desire of having -e/--expr to have the same meaning
as for 'strace', while other perf tools use it for --event, which
'trace' honours, i.e. all perf tools have --event in common, but trace
uses -e for strace's --expr.

Clarify it in the --help output.

Reported-by: David Ahern <dsahern@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-5j94bcsdmcbeu2xthnzsj60d@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-trace.txt
tools/perf/builtin-trace.c