diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2016-11-27 00:13:34 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2016-12-02 00:52:34 +0100 |
commit | b32614c03413f8a6025d8677c2b7c0ee976e63d4 (patch) | |
tree | 31033ddc3ce2320c4f4faec012b7bfec6199b550 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 14660b7ea3ca628410bb999d53926ca77973892b (diff) |
tracing/rb: Convert to hotplug state machine
Install the callbacks via the state machine. The notifier in struct
ring_buffer is replaced by the multi instance interface. Upon
__ring_buffer_alloc() invocation, cpuhp_state_add_instance() will invoke
the trace_rb_cpu_prepare() on each CPU.
This callback may now fail. This means __ring_buffer_alloc() will fail and
cleanup (like previously) and during a CPU up event this failure will not
allow the CPU to come up.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions