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
This commit is contained in:
commit
aba8e41e86
@ -58,7 +58,7 @@ else
|
|||||||
TARGET_TYPE=system
|
TARGET_TYPE=system
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(QEMU_PROG).stp:
|
$(QEMU_PROG).stp: $(SRC_PATH)/trace-events
|
||||||
$(call quiet-command,sh $(SRC_PATH)/scripts/tracetool \
|
$(call quiet-command,sh $(SRC_PATH)/scripts/tracetool \
|
||||||
--$(TRACE_BACKEND) \
|
--$(TRACE_BACKEND) \
|
||||||
--binary $(bindir)/$(QEMU_PROG) \
|
--binary $(bindir)/$(QEMU_PROG) \
|
||||||
|
@ -161,6 +161,18 @@ linetoc_nop()
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
linetod_nop()
|
||||||
|
{
|
||||||
|
# Used when "disabled" events are processed
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
linetostap_nop()
|
||||||
|
{
|
||||||
|
# Used when "disabled" events are processed
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
linetoc_end_nop()
|
linetoc_end_nop()
|
||||||
{
|
{
|
||||||
return
|
return
|
||||||
@ -494,10 +506,12 @@ EOF
|
|||||||
i=1
|
i=1
|
||||||
for arg in $arglist
|
for arg in $arglist
|
||||||
do
|
do
|
||||||
# 'limit' is a reserved keyword
|
# postfix reserved words with '_'
|
||||||
if [ "$arg" = "limit" ]; then
|
case "$arg" in
|
||||||
arg="_limit"
|
limit|in|next|self)
|
||||||
fi
|
arg="${arg}_"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
$arg = \$arg$i;
|
$arg = \$arg$i;
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user