diff options
author | 2021-04-16 23:48:03 +0800 | |
---|---|---|
committer | 2021-04-19 18:19:49 -0700 | |
commit | 137733d08f4ab14a354dacaa9a8fc35217747605 (patch) | |
tree | db597015b653b9a2ba76a5d94e296018255761b8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'Add a snprintf eBPF helper' (diff) | |
download | wireguard-linux-137733d08f4ab14a354dacaa9a8fc35217747605.tar.xz wireguard-linux-137733d08f4ab14a354dacaa9a8fc35217747605.zip |
samples/bpf: Fix broken tracex1 due to kprobe argument change
>From commit c0bbbdc32feb ("__netif_receive_skb_core: pass skb by
reference"), the first argument passed into __netif_receive_skb_core
has changed to reference of a skb pointer.
This commit fixes by using bpf_probe_read_kernel.
Signed-off-by: Yaqi Chen <chendotjs@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210416154803.37157-1-chendotjs@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions