Files
erofs-linux/tools/perf/util
Krister Johansen aa33b9b9a2 perf callchain: Reference count maps
If dso__load_kcore frees all of the existing maps, but one has already
been attached to a callchain cursor node, then we can get a SIGSEGV in
any function that happens to try to use this invalid cursor.  Use the
existing map refcount mechanism to forestall cleanup of a map until the
cursor iterates past the node.

Signed-off-by: Krister Johansen <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: [email protected]
Fixes: 84c2cafa28 ("perf tools: Reference count struct map")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
2017-02-02 11:39:09 -03:00
..
…
…
…
…
…
2016-07-18 19:42:47 -03:00
2016-07-18 19:42:47 -03:00
…
2016-06-28 10:54:56 -03:00
2016-07-12 15:19:47 -03:00
2016-07-12 15:19:47 -03:00
2016-09-20 16:20:21 -03:00
2016-10-03 11:24:13 -03:00
2017-02-02 11:39:09 -03:00
…
2016-10-24 11:07:40 -03:00
2016-10-24 11:07:39 -03:00
2016-10-28 11:29:42 -02:00
…
…
…
…
2016-07-12 15:19:55 -03:00
…
…
…
2016-10-19 13:18:31 -03:00
2016-10-19 13:18:31 -03:00
…
2016-07-12 15:19:55 -03:00
2016-10-03 11:24:13 -03:00
…
2016-08-23 15:37:33 -03:00
…
…
…
2016-10-03 11:24:13 -03:00
2016-03-31 10:52:24 -03:00
…
2016-04-28 09:58:58 -03:00
…
2016-03-23 12:32:31 -03:00
…
…
…
…