]> Git Repo - linux.git/commit
libperf: Adopt perf_mmap__read_init() from tools/perf
authorJiri Olsa <[email protected]>
Mon, 7 Oct 2019 12:53:18 +0000 (14:53 +0200)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 10 Oct 2019 14:45:21 +0000 (11:45 -0300)
commit7c4d41824f9afc659ba425a41018546531cffd72
tree5aa23413cb012ea708c708c13d63561621448fd4
parent7728fa0cfaeb7d25b12c8865c733359cc8e5fb13
libperf: Adopt perf_mmap__read_init() from tools/perf

Move perf_mmap__read_init() from tools/perf to libperf and export it in
perf/mmap.h header.

And add pr_debug2()/pr_debug3() macros support, because the code is
using them.

Signed-off-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
23 files changed:
tools/perf/arch/x86/tests/perf-time-to-tsc.c
tools/perf/builtin-kvm.c
tools/perf/builtin-top.c
tools/perf/builtin-trace.c
tools/perf/lib/include/perf/core.h
tools/perf/lib/include/perf/mmap.h
tools/perf/lib/internal.h
tools/perf/lib/libperf.map
tools/perf/lib/mmap.c
tools/perf/tests/backward-ring-buffer.c
tools/perf/tests/bpf.c
tools/perf/tests/code-reading.c
tools/perf/tests/keep-tracking.c
tools/perf/tests/mmap-basic.c
tools/perf/tests/openat-syscall-tp-fields.c
tools/perf/tests/perf-record.c
tools/perf/tests/sw-clock.c
tools/perf/tests/switch-tracking.c
tools/perf/tests/task-exit.c
tools/perf/util/evlist.c
tools/perf/util/mmap.c
tools/perf/util/mmap.h
tools/perf/util/python.c
This page took 0.062357 seconds and 4 git commands to generate.