diff options
author | Peter Zijlstra <[email protected]> | 2016-01-15 16:07:41 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-01-29 08:35:35 +0100 |
commit | c6e5b73242d2d9172ea880483bc4ba7ffca0cfb2 (patch) | |
tree | 971eae178c1644b5f0e9aebd14fac11b5a02d9c0 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 60beda849343494b2a598b927630bbe293c1cc6e (diff) |
perf: Synchronously clean up child events
The orphan cleanup workqueue doesn't always catch orphans, for example,
if they never schedule after they are orphaned. IOW, the event leak is
still very real. It also wouldn't work for kernel counters.
Doing it synchonously is a little hairy due to lock inversion issues,
but is made to work.
Patch based on work by Alexander Shishkin.
Suggested-by: Alexander Shishkin <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions