aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorIan Munsie <[email protected]>2011-02-03 14:27:21 +1100
committerSteven Rostedt <[email protected]>2011-02-07 21:25:52 -0500
commit3773b389b6927595512558594d040c1edba46f36 (patch)
tree5099c6ea72db515179ef568c2fea9765f51bc6f0 /scripts/objdiff
parentba976970c79fd2fbfe1a4b3b6766a318f4eb9d4c (diff)
tracing/syscalls: Convert redundant syscall_nr checks into WARN_ON
With the ftrace events now checking if the syscall_nr is valid upon initialisation it should no longer be possible to register or unregister a syscall event without a valid syscall_nr since they should not be created. This adds a WARN_ON_ONCE in the register and unregister functions to locate potential regressions in the future. Signed-off-by: Ian Munsie <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions