diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-10-27 21:09:15 -0700 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-10-29 13:07:59 -0400 |
commit | 2d1d7126bbde53989f1d7de174816c123bb7ecb0 (patch) | |
tree | a29e74a2a9e8ad6e8086acd2c242de14b6fa2755 /tools/perf/util/session.h | |
parent | f0daed0242d514033b9ecca9187108d3c4e281a5 (diff) | |
download | kernel-common-2d1d7126bbde53989f1d7de174816c123bb7ecb0.tar.gz kernel-common-2d1d7126bbde53989f1d7de174816c123bb7ecb0.tar.bz2 kernel-common-2d1d7126bbde53989f1d7de174816c123bb7ecb0.zip |
x86, ftrace: Use safe noops, drop trap test
Always use a safe 5-byte noop sequence. Drop the trap test, since it
is known to return false negatives on some virtualization platforms on
32 bits. The resulting code is both simpler and safer.
Cc: Daniel Drake <dsd@laptop.org>
Cc: Jason Baron <jbaron@redhat.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/util/session.h')
0 files changed, 0 insertions, 0 deletions