Closed drewhammond closed 8 months ago
Support for prefixed installs with an APP_PREFIX variable was added in https://github.com/iovisor/bcc/pull/4848.
APP_PREFIX
fsdist, fsslower, and sigsnoop support aliased execution but that only works as intended if basename(prog) matches the non-prefixed alias exactly:
fsdist
fsslower
sigsnoop
basename(prog)
root@test:~# foo-prefix-ext4slower filesystem must be specified using -t option.
This PR simply relaxes that behavior to only find a string match:
root@test:~# foo-prefix-ext4slower Tracing ext4 operations slower than 10 ms... Hit Ctrl-C to end. ...
Support for prefixed installs with an
APP_PREFIX
variable was added in https://github.com/iovisor/bcc/pull/4848.fsdist
,fsslower
, andsigsnoop
support aliased execution but that only works as intended ifbasename(prog)
matches the non-prefixed alias exactly:This PR simply relaxes that behavior to only find a string match: