diff options
| author | Jiri Olsa <[email protected]> | 2015-08-08 17:12:10 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-08-10 14:58:05 +0000 |
| commit | ab35a7d0ee59a36c9c567defe43c1adb72e9240c (patch) | |
| tree | a3468583486c189651932c582f09169bbd0f8a32 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | perf tools: Support full source file paths for srcline (diff) | |
| download | kernel-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/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
