forked from luck/tmp_suning_uos_patched
353120b48d
Add perf_mmap__init() function to initialize 'struct perf_mmap' objects. Add it to a new mmap.c source file, that will carry all the mmap related functions. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Michael Petlan <mpetlan@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lore.kernel.org/lkml/20191007125344.14268-2-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
14 lines
290 B
Plaintext
14 lines
290 B
Plaintext
libperf-y += core.o
|
|
libperf-y += cpumap.o
|
|
libperf-y += threadmap.o
|
|
libperf-y += evsel.o
|
|
libperf-y += evlist.o
|
|
libperf-y += mmap.o
|
|
libperf-y += zalloc.o
|
|
libperf-y += xyarray.o
|
|
libperf-y += lib.o
|
|
|
|
$(OUTPUT)zalloc.o: ../../lib/zalloc.c FORCE
|
|
$(call rule_mkdir)
|
|
$(call if_changed_dep,cc_o_c)
|