projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[firefly-linux-kernel-4.4.55.git]
/
tools
/
perf
/
util
/
evsel.c
diff --git
a/tools/perf/util/evsel.c
b/tools/perf/util/evsel.c
index bac25f41a7518d48fb35fe5b93948937b9ec5341..c53f79123b37f4ab506f3a914263d59c3122cfb6 100644
(file)
--- a/
tools/perf/util/evsel.c
+++ b/
tools/perf/util/evsel.c
@@
-787,7
+787,7
@@
void perf_evsel__config(struct perf_evsel *evsel, struct record_opts *opts)
perf_evsel__config_callgraph(evsel, opts, &callchain_param);
if (opts->sample_intr_regs) {
- attr->sample_regs_intr =
PERF_REGS_MASK
;
+ attr->sample_regs_intr =
opts->sample_intr_regs
;
perf_evsel__set_sample_bit(evsel, REGS_INTR);
}