perf/bpf: Convert perf_event_array to use struct file
authorAlexei Starovoitov <alexei.starovoitov@gmail.com>
Tue, 26 Jan 2016 04:59:49 +0000 (20:59 -0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 29 Jan 2016 07:35:25 +0000 (08:35 +0100)
commite03e7ee34fdd1c3ef494949a75cb8c61c7265fa9
tree17835d21a367a7b6cea78c93c076e7f65843767f
parent828b6f0e26170938d617e99a17177453be4d77a3
perf/bpf: Convert perf_event_array to use struct file

Robustify refcounting.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: Wang Nan <wangnan0@huawei.com>
Cc: vince@deater.net
Link: http://lkml.kernel.org/r/20160126045947.GA40151@ast-mbp.thefacebook.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/perf_event.h
kernel/bpf/arraymap.c
kernel/events/core.c
kernel/trace/bpf_trace.c