iovisor / bcc

BCC - Tools for BPF-based Linux IO analysis, networking, monitoring, and more
Apache License 2.0
20.36k stars 3.86k forks source link

libbpf-tools: Fix opensnoop compile errors when uses BlazeSym #4864

Closed 0lxb closed 9 months ago

0lxb commented 9 months ago

opensnoop.c:208:79: error: invalid type argument of ‘->’ (have ‘struct event’) 208 | { .src_type = SRC_T_PROCESS, .params = { .process = { .pid = e->pid }}}, | ^~