]> git.baikalelectronics.ru Git - kernel.git/commit
perf maps: Mark ksymbol DSOs with kernel type
authorJiri Olsa <jolsa@redhat.com>
Mon, 10 Feb 2020 20:08:47 +0000 (21:08 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 11 Feb 2020 19:41:49 +0000 (16:41 -0300)
commitdbbdec229353d9d402d7bf932ebb769fd10f49ce
treef546cf1252a955bc2e1f8f63f585ace2a8c5e9cc
parent66a7ac01e211b35891813a311c28874ea356490d
perf maps: Mark ksymbol DSOs with kernel type

We add ksymbol map into machine->kmaps, so it needs to be created as
'struct kmap', which is dependent on its dso having kernel type.

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/20200210200847.GA36715@krava
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/machine.c