]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
perf intel-pt: Join needlessly wrapped lines
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 26 May 2017 08:17:29 +0000 (11:17 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 30 Jun 2017 14:44:34 +0000 (11:44 -0300)
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>
tools/perf/util/intel-pt.c

index f8237a0e29464683b5ee27199b34b09b4af7c8c6..b670502b026444c0bb57199f2929e9e425c14f21 100644 (file)
@@ -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;