aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDenys Vlasenko <[email protected]>2012-03-23 15:02:42 -0700
committerLinus Torvalds <[email protected]>2012-03-23 16:58:41 -0700
commit5cdf389aee90109e2e3d88085dea4dd5508a3be7 (patch)
treeab59bc0fef6800ea6bbe20a1828bd396094bfbf8 /tools/perf/util/scripting-engines/trace-event-python.c
parentaa9147c98f27550bd39416eca5a5844e54bced26 (diff)
ptrace: renumber PTRACE_EVENT_STOP so that future new options and events can match
PTRACE_EVENT_foo and PTRACE_O_TRACEfoo used to match. New PTRACE_EVENT_STOP is the first event which has no corresponding PTRACE_O_TRACE option. If we will ever want to add another such option, its PTRACE_EVENT's value will collide with PTRACE_EVENT_STOP's value. This patch changes PTRACE_EVENT_STOP value to prevent this. While at it, added a comment - the one atop PTRACE_EVENT block, saying "Wait extended result codes for the above trace options", is not true for PTRACE_EVENT_STOP. Signed-off-by: Denys Vlasenko <[email protected]> Cc: Tejun Heo <[email protected]> Reviewed-by: Oleg Nesterov <[email protected]> Cc: Pedro Alves <[email protected]> Cc: Jan Kratochvil <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions