aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2017-08-28 08:47:22 +0200
committerIngo Molnar <[email protected]>2017-08-29 11:42:23 +0200
commit11a7ffb01703c3bbb1e9b968893f4487a1b0b5a8 (patch)
tree938e6fb9f52b79afbf4a8d25eac25cfa5d315178 /tools/lib/api/debug.c
parent2feb1b316d48004d905278c02a55902cab0be8be (diff)
x86/traps: Simplify pagefault tracing logic
Make use of the new irqvector tracing static key and remove the duplicated trace_do_pagefault() implementation. If irq vector tracing is disabled, then the overhead of this is a single NOP5, which is a reasonable tradeoff to avoid duplicated code and the unholy macro mess. Signed-off-by: Thomas Gleixner <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Steven Rostedt <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions