summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-10-26 10:30:20 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-10-27 09:10:10 -0300
commita14390fde64e862c4fe8b92ecb293ee4b12d5bfe (patch)
tree736cf2a2e5ef26d6dc948578fdf444829aed9370 /firmware
parente669e833da8d71a02e175dfffceaabc3eb010207 (diff)
downloadop-kernel-dev-a14390fde64e862c4fe8b92ecb293ee4b12d5bfe.zip
op-kernel-dev-a14390fde64e862c4fe8b92ecb293ee4b12d5bfe.tar.gz
perf script: Allow creating per-event dump files
Introduce a new option to dump trace output to files named by the monitored events and update perf-script documentation accordingly. Shown below is output of perf script command with the newly introduced option. $ perf record -e cycles -e cs -ag -- sleep 1 $ perf script --per-event-dump $ ls perf.data.cycles.dump perf.data.cs.dump Without per-event-dump support, drawing flamegraphs for different events would require post processing to separate events. You can monitor only one event at a time if you want to get flamegraphs for different events. Using this option, you can get the trace output files named by the monitored events, and could draw flamegraphs according to the event's name. Based-on-a-patch-by: yuzhoujian <yuzhoujian@didichuxing.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/r/1508921599-10832-3-git-send-email-yuzhoujian@didichuxing.com Link: http://lkml.kernel.org/n/tip-8ngzsjdhgiovkupl3r5yy570@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud