mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
perf intel-pt: Remove unused instructions_sample_period
Remove unused struct intel_pt member instructions_sample_period. Signed-off-by: Adrian Hunter <[email protected]> Cc: Andi Kleen <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
This commit is contained in:
parent
0f3e53799c
commit
f90d07a9f6
1 changed files with 0 additions and 2 deletions
|
|
@ -81,7 +81,6 @@ struct intel_pt {
|
|||
|
||||
bool sample_instructions;
|
||||
u64 instructions_sample_type;
|
||||
u64 instructions_sample_period;
|
||||
u64 instructions_id;
|
||||
|
||||
bool sample_branches;
|
||||
|
|
@ -1978,7 +1977,6 @@ static int intel_pt_synth_events(struct intel_pt *pt,
|
|||
intel_pt_ns_to_ticks(pt, pt->synth_opts.period);
|
||||
else
|
||||
attr.sample_period = pt->synth_opts.period;
|
||||
pt->instructions_sample_period = attr.sample_period;
|
||||
if (pt->synth_opts.callchain)
|
||||
attr.sample_type |= PERF_SAMPLE_CALLCHAIN;
|
||||
if (pt->synth_opts.last_branch)
|
||||
|
|
|
|||
Loading…
Reference in a new issue