diff options
author | Ian Munsie <imunsie@au1.ibm.com> | 2011-02-03 04:27:21 +0100 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-02-08 03:25:52 +0100 |
commit | 3773b389b6927595512558594d040c1edba46f36 (patch) | |
tree | 5099c6ea72db515179ef568c2fea9765f51bc6f0 /Documentation/trace/ftrace-design.txt | |
parent | tracing/syscalls: Don't add events for unmapped syscalls (diff) | |
download | linux-3773b389b6927595512558594d040c1edba46f36.tar.xz linux-3773b389b6927595512558594d040c1edba46f36.zip |
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 <imunsie@au1.ibm.com>
LKML-Reference: <1296703645-18718-3-git-send-email-imunsie@au1.ibm.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/trace/ftrace-design.txt')
0 files changed, 0 insertions, 0 deletions