/* this file is linked together with test_usdt.c to validate that usdt.bpf.h * can be included in multiple .bpf.c files forming single final BPF object * file
*/
externint my_pid;
int usdt_100_called; int usdt_100_sum;
SEC("usdt//proc/self/exe:test:usdt_100") int BPF_USDT(usdt_100, int x)
{ if (my_pid != (bpf_get_current_pid_tgid() >> 32)) return 0;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.