perf intel-pt: Add default config for pass-through branch enable
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 26 May 2017 08:17:12 +0000 (11:17 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Jun 2017 14:35:48 +0000 (11:35 -0300)
commit9fd629f9a6d0eded133f5f9866226f6bbfe5f50d
treea337421b0d004e4212bc4293f0e64db031a963ac
parent839598176b0554967238234e1e92c7d1e3f0d53d
perf intel-pt: Add default config for pass-through branch enable

Branch tracing is enabled by default, so a fake config bit called 'pt'
(pass-through) was added to allow the 'branch enable' bit to have affect.
Add default config 'pt,branch' which will allow users to disable branch
tracing using 'branch=0' instead of having to specify 'pt,branch=0'.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1495786658-18063-12-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/x86/util/intel-pt.c