mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-06 18:44:19 +08:00
perf intel-pt: Join needlessly wrapped lines
Join needlessly wrapped lines. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Link: http://lkml.kernel.org/r/1495786658-18063-29-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
f90d07a9f6
commit
406a180501
@ -1298,15 +1298,13 @@ static int intel_pt_sample(struct intel_pt_queue *ptq)
|
|||||||
|
|
||||||
ptq->have_sample = false;
|
ptq->have_sample = false;
|
||||||
|
|
||||||
if (pt->sample_instructions &&
|
if (pt->sample_instructions && (state->type & INTEL_PT_INSTRUCTION)) {
|
||||||
(state->type & INTEL_PT_INSTRUCTION)) {
|
|
||||||
err = intel_pt_synth_instruction_sample(ptq);
|
err = intel_pt_synth_instruction_sample(ptq);
|
||||||
if (err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pt->sample_transactions &&
|
if (pt->sample_transactions && (state->type & INTEL_PT_TRANSACTION)) {
|
||||||
(state->type & INTEL_PT_TRANSACTION)) {
|
|
||||||
err = intel_pt_synth_transaction_sample(ptq);
|
err = intel_pt_synth_transaction_sample(ptq);
|
||||||
if (err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
|
Loading…
Reference in New Issue
Block a user