aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/event.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2016-10-07 16:42:25 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-10-24 10:31:32 -0300
commit32f98aab75dd385e326c975717f8b730c6c57508 (patch)
tree08f9357a1e5ee223e2c2e760ec2a397b1324b92e /tools/perf/util/event.h
parentMerge tag 'perf-c2c-for-mingo-20161021' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (diff)
downloadlinux-dev-32f98aab75dd385e326c975717f8b730c6c57508.tar.xz
linux-dev-32f98aab75dd385e326c975717f8b730c6c57508.zip
perf intel-pt/bts: Tidy instruction buffer size usage
Tidy instruction buffer size usage in preparation for copying the instruction bytes onto samples. The instruction buffer is presently used for debugging, so rename its size macro from INTEL_PT_INSN_DBG_BUF_SZ to INTEL_PT_INSN_BUF_SZ, and use it everywhere. Note that the maximum instruction size is 15 which is a less efficient size to copy than 16, which is why a separate buffer size is used. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Link: http://lkml.kernel.org/r/1475847747-30994-2-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/event.h')
0 files changed, 0 insertions, 0 deletions