OSDN Git Service

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)
commit7b8283b56d9fb36106ff1c459dfd399a20bd374d
treef0d3281f2d9b5ff8beb6209e5e226778a5d803b6
parent8cb0aa4c2db395b143cd5165586dc17677960002
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