diff options
author | Peter Zijlstra <peterz@infradead.org> | 2014-05-05 12:11:24 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-05-07 13:44:19 +0200 |
commit | 683ede43dd412c6cad0d23578a018409ac9c683e (patch) | |
tree | 18a640da4a9355e3ef9b7944f62ab4303eed122d /kernel/trace/trace_irqsoff.c | |
parent | 63342411efd2d9350ad405205da036cd45ed1640 (diff) | |
download | blackbird-op-linux-683ede43dd412c6cad0d23578a018409ac9c683e.tar.gz blackbird-op-linux-683ede43dd412c6cad0d23578a018409ac9c683e.zip |
perf: Rework free paths
Primarily make perf_event_release_kernel() into put_event(), this will
allow kernel space to create per-task inherited events, and is safer
in general.
Also, document the free_event() assumptions.
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-rk9pvr6e1d0559lxstltbztc@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/trace/trace_irqsoff.c')
0 files changed, 0 insertions, 0 deletions