]> git.baikalelectronics.ru Git - kernel.git/commit
perf evlist: Fix type for references to data_head/tail
authorDavid Ahern <dsahern@gmail.com>
Tue, 7 Apr 2015 15:20:37 +0000 (09:20 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 10 Apr 2015 14:29:20 +0000 (11:29 -0300)
commit10341a525b7f9ba5b7b7c229870ff423b1afaff7
treef0d3281f2d9b5ff8beb6209e5e226778a5d803b6
parentb224e8226e4abf0b5d9942481a14a077d38912e1
perf evlist: Fix type for references to data_head/tail

The data_head and data_tail fields are defined as __u64 in
linux/perf_event.h, but perf userspace uses int and unsigned int.

Convert all references to u64 for consistency.

Signed-off-by: David Ahern <dsahern@gmail.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1428420037-26599-1-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/util/evlist.c
tools/perf/util/evlist.h