perf evsel: Store backpointer to attached bpf_object
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 15 Jul 2019 19:22:57 +0000 (16:22 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 29 Jul 2019 21:34:41 +0000 (18:34 -0300)
commitaf4a0991f40a1e50e5caff0317f152df2c82bdeb
treeb04d1087a844ef4fb50d74119aa50f76f6085f23
parent2620b7e3696a9470c7cda0a08e55813fd5e57e5c
perf evsel: Store backpointer to attached bpf_object

We may want to get to this bpf_object, to search for other BPF programs,
etc.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Luis Cláudio Gonçalves <lclaudio@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-3y8hrb6lszjfi23vjlic3cib@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/bpf-loader.c
tools/perf/util/bpf-loader.h
tools/perf/util/evsel.c
tools/perf/util/evsel.h
tools/perf/util/parse-events.c