summaryrefslogtreecommitdiff
path: root/Documentation/mic
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2015-08-08 20:12:10 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-08-10 17:58:05 +0300
commitab35a7d0ee59a36c9c567defe43c1adb72e9240c (patch)
treea3468583486c189651932c582f09169bbd0f8a32 /Documentation/mic
parenta9710ba091b0dcdace90f791706e9192313ffb7c (diff)
downloadlinux-ab35a7d0ee59a36c9c567defe43c1adb72e9240c.tar.xz
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 <jolsa@kernel.org> Cc: Andi Kleen <ak@linux.intel.com> Cc: Kan Liang <kan.liang@intel.com> Cc: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/r/20150808171210.GC17040@krava.brq.redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'Documentation/mic')
0 files changed, 0 insertions, 0 deletions