diff options
-rw-r--r-- | NEWS | 6 | ||||
-rwxr-xr-x | testsuite/semok/thirtythree.stp | 7 |
2 files changed, 8 insertions, 5 deletions
@@ -1,5 +1,9 @@ * What's new +- The translator can resolve members of anonymous structs / unions: + given struct { int foo; struct { int bar; }; } *p; + this now works: $p->bar + - The stap "-F" flag activates "flight recorder" mode, which consists of translating the given script as usual, but implicitly launching it into the background with staprun's existing "-L" (launch) option. A user @@ -381,5 +385,3 @@ - Many minor bug fixes, performance, tapset, and error message improvements. - -- Modify translator code to identify members of anonymous structs / unions. diff --git a/testsuite/semok/thirtythree.stp b/testsuite/semok/thirtythree.stp index 3c23ab1c..d5171f66 100755 --- a/testsuite/semok/thirtythree.stp +++ b/testsuite/semok/thirtythree.stp @@ -1,4 +1,5 @@ -#!/bin/sh +#! stap -p2 # Per bz3016, this should get through the semantic pass without warnings. -stap -p2 -e 'probe kernel.function("do_mpage_readpage") { printf("\n page ->inuse %u",$page->inuse);exit();}' -exit 0 +probe kernel.function("do_mpage_readpage") { + printf("\n page ->inuse %u",$page->inuse) +} |