projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c954eb7
)
perf intel-pt: Remove redundant setting of ptq->insn_len
author
Adrian Hunter
<adrian.hunter@intel.com>
Wed, 19 May 2021 07:45:15 +0000
(10:45 +0300)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Wed, 19 May 2021 13:35:31 +0000
(10:35 -0300)
Remove redundant "ptq->insn_len = 0" statement.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link:
http://lore.kernel.org/lkml/20210519074515.9262-4-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/intel-pt.c
patch
|
blob
|
history
diff --git
a/tools/perf/util/intel-pt.c
b/tools/perf/util/intel-pt.c
index beae5cbe9cc2d91499d13104de45bf94d406b2c8..0dfec8761b9ac5b83d460ad888226ee8087660bb 100644
(file)
--- a/
tools/perf/util/intel-pt.c
+++ b/
tools/perf/util/intel-pt.c
@@
-1214,7
+1214,6
@@
static void intel_pt_sample_flags(struct intel_pt_queue *ptq)
ptq->flags = PERF_IP_FLAG_BRANCH | PERF_IP_FLAG_CALL |
PERF_IP_FLAG_ASYNC |
PERF_IP_FLAG_INTERRUPT;
- ptq->insn_len = 0;
} else {
if (ptq->state->from_ip)
ptq->flags = intel_pt_insn_type(ptq->state->insn_op);