|
80 | 80 | void *phash = NULL, *preason = NULL; |
81 | 81 | bpf_usdt_readarg(1, ctx, phash); |
82 | 82 | bpf_probe_read_user(&removed.hash, sizeof(removed.hash), phash); |
83 | | - bpf_usdt_readarg(1, ctx, preason); |
| 83 | + bpf_usdt_readarg(2, ctx, preason); |
84 | 84 | bpf_probe_read_user_str(&removed.reason, sizeof(removed.reason), preason); |
85 | 85 | bpf_usdt_readarg(3, ctx, &removed.vsize); |
86 | 86 | bpf_usdt_readarg(4, ctx, &removed.fee); |
|
95 | 95 | void *phash = NULL, *preason = NULL; |
96 | 96 | bpf_usdt_readarg(1, ctx, phash); |
97 | 97 | bpf_probe_read_user(&rejected.hash, sizeof(rejected.hash), phash); |
98 | | - bpf_usdt_readarg(1, ctx, preason); |
| 98 | + bpf_usdt_readarg(2, ctx, preason); |
99 | 99 | bpf_probe_read_user_str(&rejected.reason, sizeof(rejected.reason), preason); |
100 | 100 | rejected_events.perf_submit(ctx, &rejected, sizeof(rejected)); |
101 | 101 | return 0; |
|
0 commit comments