Tapsets with wildcards in the process() statement ?

Josh Stone jistone@redhat.com
Tue Oct 19 16:35:00 GMT 2010


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



More information about the Systemtap mailing list