diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2012-04-02 09:44:35 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-04-02 09:44:35 -0500 |
commit | aba8e41e8666e4c0287cef1f6298985d4e03211d (patch) | |
tree | f45bd6a31c5c12db334d8645bce61ab9d8b05c53 /scripts | |
parent | dfe844c9043815497b6472bfaf470b0f8d2e7312 (diff) | |
parent | 703e01e6e249e6d0a74e0cbab827b235032ec7f3 (diff) | |
download | qemu-aba8e41e8666e4c0287cef1f6298985d4e03211d.zip qemu-aba8e41e8666e4c0287cef1f6298985d4e03211d.tar.gz qemu-aba8e41e8666e4c0287cef1f6298985d4e03211d.tar.bz2 |
Merge remote-tracking branch 'stefanha/tracing' into staging
* stefanha/tracing:
tracetool: dtrace: handle in and next reserved words
tracetool: dtrace disabled-events fix
Makefile.target: code stp dependency on trace-events
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/tracetool | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/scripts/tracetool b/scripts/tracetool index d675dab..47389b6 100755 --- a/scripts/tracetool +++ b/scripts/tracetool @@ -161,6 +161,18 @@ linetoc_nop() return } +linetod_nop() +{ + # Used when "disabled" events are processed + return +} + +linetostap_nop() +{ + # Used when "disabled" events are processed + return +} + linetoc_end_nop() { return @@ -494,10 +506,12 @@ EOF i=1 for arg in $arglist do - # 'limit' is a reserved keyword - if [ "$arg" = "limit" ]; then - arg="_limit" - fi + # postfix reserved words with '_' + case "$arg" in + limit|in|next|self) + arg="${arg}_" + ;; + esac cat <<EOF $arg = \$arg$i; EOF |