diff options
| author | Jin Yao <[email protected]> | 2018-05-21 14:57:44 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-05-21 17:40:54 +0000 |
| commit | e2bdbe80a0b7dea9ba73582701b8a67c01e1da4f (patch) | |
| tree | ba58f3373ad835f91a99ace73487b156128c4dc2 /tools/perf/builtin-annotate.c | |
| parent | Merge tag 'perf-core-for-mingo-4.18-20180519' of git://git.kernel.org/pub/scm... (diff) | |
| download | kernel-e2bdbe80a0b7dea9ba73582701b8a67c01e1da4f.tar.gz kernel-e2bdbe80a0b7dea9ba73582701b8a67c01e1da4f.zip | |
perf evlist: Introduce force_leader() method
For non-explicit group (e.g. those created with -e '{eventA,eventB}'),
'perf report' supports a option '--group' which can enable group output.
We also need to support 'perf annotate' with the same '--group'.
Create a new function perf_evlist__force_leader() which contains common
code to force setting the group leader.
Signed-off-by: Jin Yao <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions
