Skip to content

Commit

Permalink
perf intel-pt: Join needlessly wrapped lines
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Hunter authored and Arnaldo Carvalho de Melo committed Jun 30, 2017
1 parent f90d07a commit 406a180
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tools/perf/util/intel-pt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1298,15 +1298,13 @@ static int intel_pt_sample(struct intel_pt_queue *ptq)

ptq->have_sample = false;

if (pt->sample_instructions &&
(state->type & INTEL_PT_INSTRUCTION)) {
if (pt->sample_instructions && (state->type & INTEL_PT_INSTRUCTION)) {
err = intel_pt_synth_instruction_sample(ptq);
if (err)
return err;
}

if (pt->sample_transactions &&
(state->type & INTEL_PT_TRANSACTION)) {
if (pt->sample_transactions && (state->type & INTEL_PT_TRANSACTION)) {
err = intel_pt_synth_transaction_sample(ptq);
if (err)
return err;
Expand Down

0 comments on commit 406a180

Please sign in to comment.