aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2010-10-05 14:28:52 +0100
committerBlue Swirl <blauwirbel@gmail.com>2010-10-09 08:16:55 +0000
commitea9c16989b0c814d5dd2a09a576018a6aa320a27 (patch)
tree73e8544296556ea6a3efc7580808ff9120f1980f
parent5eb5527b1eaec0955a91f8532424bb45611b7b0c (diff)
trace: Use TP_PROTO() and TP_ARGS() for LTTng UST
The LTTng UserSpace Tracer formerly used TPPROTO() and TPARGS() instead of TP_PROTO() and TP_ARGS() like the kernel uses. This has been changed so QEMU needs to follow. I am not aware of a graceful way of making the transition but since no one complained that the UST build is broken, it should be fine to just switch over without compatibility for old UST headers. The newer UST headers are shipping in distro packages so it is realistic to make this change now. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rwxr-xr-xtracetool2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracetool b/tracetool
index 63e3e291cc..701085837f 100755
--- a/tracetool
+++ b/tracetool
@@ -250,7 +250,7 @@ linetoh_ust()
argnames=$(get_argnames "$1")
cat <<EOF
-DECLARE_TRACE(ust_$name, TPPROTO($args), TPARGS($argnames));
+DECLARE_TRACE(ust_$name, TP_PROTO($args), TP_ARGS($argnames));
#define trace_$name trace_ust_$name
EOF
}