diff options
author | Namhyung Kim <[email protected]> | 2015-08-09 15:45:24 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-08-10 17:20:26 -0300 |
commit | 4605bb55b91449a1a953a51f0334d3bc02351adb (patch) | |
tree | 8f8c997efda7bf335716d36d770520a3e84f900e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 09af2a553577a6e53e40011a910be0f27ce56f3e (diff) |
perf evlist: Be more specific on -F/--freq
Currently perf evlist -F shows the number as if it's always sampling
frequency. But we now support per-event freq/period settings. So it'd
better to show more detailed info whether it's freq or period.
$ perf record -e 'cpu/config=1/,cpu/config=2,period=300000/' sleep 1
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.017 MB perf.data ]
$ perf evlist -F
cpu/config=1/: sample_freq=4000
cpu/config=2,period=300000/: sample_period=300000
Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: David Ahern <[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