]> sourceware.org Git - systemtap.git/commit - dtrace.in
PR21065: dtrace .d usdt parser: tolerate probe ... (...) : (...); syntax
authorFrank Ch. Eigler <fche@redhat.com>
Fri, 20 Jan 2017 23:15:44 +0000 (18:15 -0500)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 20 Jan 2017 23:32:28 +0000 (18:32 -0500)
commit80ad5b9a80f113b1290f2c0a76ce74d6b227f007
treecc3c175fe139f8008e3a6f340195a3e1d2035148
parent6f6aed2a56128c2685379325fef0c3f4e0c65875
PR21065: dtrace .d usdt parser: tolerate probe ... (...) : (...); syntax

Allow our /usr/bin/dtrace-impersonating usdt-.d file parser to take in
those .d files that use the "arguments passed to probe consumers"
extended syntax:

provider {
    probe FOO (int foo, char *bar) : (int foo, string bar);
}

We just quietly ignore the latter part though, so the systemtap script
sees the application's raw DTRACE_PROBE* argument list.
dtrace.in
testsuite/systemtap.base/sdt_misc_.d
This page took 0.030829 seconds and 5 git commands to generate.