This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Tapsets with wildcards in the process() statement ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]