diff options
author | Namhyung Kim <namhyung@kernel.org> | 2015-03-01 22:13:33 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-03-02 10:04:45 -0500 |
commit | 9a75606ca06d94aab1ed0dbe96935e3f89dfb81c (patch) | |
tree | abc35265d3539b1e1bfe60c2f9b6d4fef42b8b98 /tools | |
parent | 08b23f4e635fa42a1d3ebdf31b8bb720f17d6c14 (diff) |
perf record: Document --group option
The 'perf record --group' option lacks documentation and confuses users.
As -e/--event option already supports group spec, it should not be used
anymore.
Also add a short description of event group itself.
Reported-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1425266013-5034-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/Documentation/perf-record.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt index 4d668945dfe6..355c4f5569b5 100644 --- a/tools/perf/Documentation/perf-record.txt +++ b/tools/perf/Documentation/perf-record.txt | |||
@@ -55,6 +55,11 @@ OPTIONS | |||
55 | If you want to profile write accesses in [0x1000~1008), just set | 55 | If you want to profile write accesses in [0x1000~1008), just set |
56 | 'mem:0x1000/8:w'. | 56 | 'mem:0x1000/8:w'. |
57 | 57 | ||
58 | - a group of events surrounded by a pair of brace ("{event1,event2,...}"). | ||
59 | Each event is separated by commas and the group should be quoted to | ||
60 | prevent the shell interpretation. You also need to use --group on | ||
61 | "perf report" to view group events together. | ||
62 | |||
58 | --filter=<filter>:: | 63 | --filter=<filter>:: |
59 | Event filter. | 64 | Event filter. |
60 | 65 | ||
@@ -104,6 +109,10 @@ OPTIONS | |||
104 | specification with appended unit character - B/K/M/G. The | 109 | specification with appended unit character - B/K/M/G. The |
105 | size is rounded up to have nearest pages power of two value. | 110 | size is rounded up to have nearest pages power of two value. |
106 | 111 | ||
112 | --group:: | ||
113 | Put all events in a single event group. This precedes the --event | ||
114 | option and remains only for backward compatibility. See --event. | ||
115 | |||
107 | -g:: | 116 | -g:: |
108 | Enables call-graph (stack chain/backtrace) recording. | 117 | Enables call-graph (stack chain/backtrace) recording. |
109 | 118 | ||