This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Tapsets with wildcards in the process() statement ?
- From: Josh Stone <jistone at redhat dot com>
- To: "Daniel P. Berrange" <berrange at redhat dot com>
- Cc: systemtap at sourceware dot org
- Date: Tue, 19 Oct 2010 09:34:53 -0700
- Subject: Re: Tapsets with wildcards in the process() statement ?
- References: <20101019160512.GP23535@redhat.com>
On 10/19/2010 09:05 AM, Daniel P. Berrange wrote:
> The 'process("qemu")' statement in my qemu.stp file will only match
> one of the binaries though. I would like todo 'process("qemu*")'
> but systemtap doesn't seem to like that wildcard syntax here:
We've wanted this for a while, and I think Frank recently started to
tackle it, so hopefully we'll have it for the next release.
http://sourceware.org/bugzilla/show_bug.cgi?id=6456
In the mean time, you could chain these together as optional aliases,
which is cumbersome, but perhaps could be generated with a script:
probe qemu.foo =
process("qemu").mark("foo") ? ,
process("qemu-system-x86_64").mark("foo") ? ,
...
process("qemu-kvm").mark("foo") ?
{
...
}
Josh