summaryrefslogtreecommitdiff
path: root/tools/perf/util/auxtrace.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2015-05-29 16:33:38 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-06-23 18:28:37 -0300
commit83b2ea257eb1d43e52f76d756722aeb899a2852c (patch)
treeb196e89ed77b358797956afd2091df95660d33c3 /tools/perf/util/auxtrace.h
parent38e89d2b1771649c006720903c06d8b8bedd4d83 (diff)
downloadlwn-83b2ea257eb1d43e52f76d756722aeb899a2852c.tar.gz
lwn-83b2ea257eb1d43e52f76d756722aeb899a2852c.zip
perf tools: Allow auxtrace data alignment
Allow auxtrace data to be a multiple of something other than page size. That is needed for BTS where the buffer contains 24-byte records. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/1432906425-9911-11-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/auxtrace.h')
-rw-r--r--tools/perf/util/auxtrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/auxtrace.h b/tools/perf/util/auxtrace.h
index a171abbe7301..471aecbc4d68 100644
--- a/tools/perf/util/auxtrace.h
+++ b/tools/perf/util/auxtrace.h
@@ -303,6 +303,7 @@ struct auxtrace_record {
const char *str);
u64 (*reference)(struct auxtrace_record *itr);
int (*read_finish)(struct auxtrace_record *itr, int idx);
+ unsigned int alignment;
};
#ifdef HAVE_AUXTRACE_SUPPORT