perf intel-pt: Move branch filter logic
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 25 Sep 2015 13:15:44 +0000 (16:15 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 Sep 2015 19:58:27 +0000 (16:58 -0300)
commit385e33063fb963f5cccb0a37fe539319b6481fa5
tree3c475ac468c7504056b2c24e60eb77218ce39f88
parent051a01b9a2c1c1ef3049973a43d9ed4ddcc946f3
perf intel-pt: Move branch filter logic

intel_pt_synth_branch_sample() skips synthesizing if the branch does not
match the branch filter.  That logic was sitting in the middle of the
function but is more efficiently placed at the start of the function, so
move it.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1443186956-18718-14-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/intel-pt.c
This page took 0.03006 seconds and 5 git commands to generate.