aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2015-08-08 17:12:10 +0000
committerArnaldo Carvalho de Melo <[email protected]>2015-08-10 14:58:05 +0000
commitab35a7d0ee59a36c9c567defe43c1adb72e9240c (patch)
treea3468583486c189651932c582f09169bbd0f8a32 /tools/perf/scripts/python/sctop.py
parentperf tools: Support full source file paths for srcline (diff)
downloadkernel-ab35a7d0ee59a36c9c567defe43c1adb72e9240c.tar.gz
kernel-ab35a7d0ee59a36c9c567defe43c1adb72e9240c.zip
perf tools: Unset perf_event_attr::freq when period term is set
We need to unset 'perf_event_attr::freq' bit (default 1) when 'period' term is specified within event definition like: -e 'cpu/cpu-cycles,call-graph=fp,time,period=100000' otherwise it will handle the period value as frequency (and fail if it crossed the maximum allowed frequency value). Signed-off-by: Jiri Olsa <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Kan Liang <[email protected]> Cc: Namhyung Kim <[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/sctop.py')
0 files changed, 0 insertions, 0 deletions