diff options
| author | Markus Metzger <[email protected]> | 2009-04-03 16:43:40 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-04-07 13:36:20 +0200 |
| commit | de79f54f5347ad7ec6ff55ccbb6d4ab2a21f6a93 (patch) | |
| tree | dfd3f000600b942a545cbc8acd2f2e67f4518015 /include/linux/debugobjects.h | |
| parent | 35bb7600c17762bb129588c1877d2717fe325289 (diff) | |
x86, bts, hw-branch-tracer: add _noirq variants to the debug store interface
The hw-branch-tracer uses debug store functions from an on_each_cpu()
context, which is simply wrong since the functions may sleep.
Add _noirq variants for most functions, which may be called with
interrupts disabled.
Separate per-cpu and per-task tracing and allow per-cpu tracing to be
controlled from any cpu.
Make the hw-branch-tracer use the new debug store interface, synchronize
with hotplug cpu event using get/put_online_cpus(), and remove the
unnecessary spinlock.
Make the ptrace bts and the ds selftest code use the new interface.
Defer the ds selftest.
Signed-off-by: Markus Metzger <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions