aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/examples/bpf/augmented_raw_syscalls.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2019-05-08 15:20:06 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-05-28 18:37:42 -0300
commitfb5a88d4131a9ee8bec3f4bb7c034d7a4e9cf5ea (patch)
treebcb1c3e0b1a2559f7a4e4081f38a17d54920da5f /tools/perf/examples/bpf/augmented_raw_syscalls.c
parentperf machine: Keep zero in pgoff BPF map (diff)
downloadlinux-dev-fb5a88d4131a9ee8bec3f4bb7c034d7a4e9cf5ea.tar.xz
linux-dev-fb5a88d4131a9ee8bec3f4bb7c034d7a4e9cf5ea.zip
perf tools: Preserve eBPF maps when loading kcore
We need to preserve eBPF maps even if they are covered by kcore, because we need to access eBPF dso for source data. Add the map_groups__merge_in function to do that. It merges a map into map_groups by splitting the new map within the existing map regions. Suggested-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Jiri Olsa <jolsa@kernel.org> Acked-by: Song Liu <songliubraving@fb.com> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stanislav Fomichev <sdf@google.com> Link: http://lkml.kernel.org/r/20190508132010.14512-9-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/examples/bpf/augmented_raw_syscalls.c')
0 files changed, 0 insertions, 0 deletions