aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/lzma.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2020-02-10 15:32:17 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-02-11 16:41:49 -0300
commit7ce66139a99ce57caaf47b64afed5cb6ed02c5ed (patch)
treef9e5dcca63ca36259006f0d5dde1f7e67bdf4cd7 /tools/perf/util/lzma.c
parentperf maps: Mark ksymbol DSOs with kernel type (diff)
downloadlinux-dev-7ce66139a99ce57caaf47b64afed5cb6ed02c5ed.tar.xz
linux-dev-7ce66139a99ce57caaf47b64afed5cb6ed02c5ed.zip
perf maps: Fix map__clone() for struct kmap
The map__clone() function can be called on kernel maps as well, so it needs to duplicate the whole kmap data. Reported-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com> Signed-off-by: Jiri Olsa <jolsa@kernel.org> Tested-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com> Tested-by: Kim Phillips <kim.phillips@amd.com> 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/20200210143218.24948-4-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/lzma.c')
0 files changed, 0 insertions, 0 deletions