diff options
author | Jin Yao <[email protected]> | 2018-05-22 19:38:35 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-05-23 10:26:40 -0300 |
commit | 787e4da9f95fd44376b3af6fa163ac0b3a48a1fc (patch) | |
tree | b3bea4396b06e51281a0d5cfc8990325338ff099 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a8ce99b0ee9ad32debad0a9f28d21451ba237cc1 (diff) |
perf annotate: Show group event string for stdio
When we enable the group, for tui/stdio2, the output first line includes
the group event string. While for stdio, it will show only one event.
For example,
perf record -e cycles,branches ./div
perf annotate --group --stdio
Percent | Source code & Disassembly of div for cycles (44407 samples)
......
The first line doesn't include the event 'branches'.
With this patch, it will show the correct group even string.
perf annotate --group --stdio
Percent | Source code & Disassembly of div for cycles, branches (44407 samples)
......
Signed-off-by: Jin Yao <[email protected]>
Suggested-by: Arnaldo Carvalho de Melo <[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/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions