diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2015-07-17 19:33:46 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-08-06 16:47:58 -0300 |
commit | f70cfa07e3675a115265e32d6357272275358cdb (patch) | |
tree | 7cea11c55e9f7d9e253f4caba0bc1c79a269fe01 /tools/perf/perf-with-kcore.sh | |
parent | 74d4582f430a797564f92fbff0bd3a21945528b7 (diff) | |
download | linux-f70cfa07e3675a115265e32d6357272275358cdb.tar.gz linux-f70cfa07e3675a115265e32d6357272275358cdb.tar.bz2 linux-f70cfa07e3675a115265e32d6357272275358cdb.zip |
perf auxtrace: Fix period type 'i' not working
PERF_ITRACE_PERIOD_INSTRUCTIONS is zero so it got overwritten by the
default period type.
Fix by checking if the period type was set rather than if the value was
zero when applying the default.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1437150840-31811-12-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/perf-with-kcore.sh')
0 files changed, 0 insertions, 0 deletions