diff options
author | Jiri Olsa <[email protected]> | 2015-08-08 19:12:10 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-08-10 11:58:05 -0300 |
commit | ab35a7d0ee59a36c9c567defe43c1adb72e9240c (patch) | |
tree | a3468583486c189651932c582f09169bbd0f8a32 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | a9710ba091b0dcdace90f791706e9192313ffb7c (diff) |
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/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions