Attention is currently required from: osmith, pespin.
fixeria has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/docker-playground/+/41778?usp=email )
Change subject: ttcn3-bts-test: bpftrace: filter by executable name ......................................................................
Patch Set 2:
(1 comment)
File ttcn3-bts-test/bpftrace/ksys_write_delay.bt:
https://gerrit.osmocom.org/c/docker-playground/+/41778/comment/bf230abe_efb8... : PS2, Line 28: kretprobe:ksys_write / comm == str($1) && @start[tid] /
This change is not needed, since the other condition can only be true already when comm == str($1)
I also thought so, but now I am not sure anymore. Without proper pid filtering `kretprobe:ksys_write` triggers for all processes, not only for osmo-bts-trx. And there's a possibility that it triggers for another process with the same `tid` (thread ID) earlier than for osmo-bts. Unless thread IDs are guaranteed to be globally unique, are they?