Repository navigation
Commit 49f4e67
bpf: Use BTF_ID to resolve bpf_ctx_convert struct
This way the ID is resolved during compile time,
and we can remove the runtime name search.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Tested-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200711215329.41165-7-jolsa@kernel.org1 parent 138b9a0 commit 49f4e67
1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
3621 | 3622 | | |
3622 | 3623 | | |
3623 | 3624 | | |
| 3625 | + | |
| 3626 | + | |
| 3627 | + | |
3624 | 3628 | | |
3625 | 3629 | | |
3626 | 3630 | | |
3627 | 3631 | | |
3628 | 3632 | | |
3629 | | - | |
| 3633 | + | |
3630 | 3634 | | |
3631 | 3635 | | |
3632 | 3636 | | |
| |||
3659 | 3663 | | |
3660 | 3664 | | |
3661 | 3665 | | |
3662 | | - | |
3663 | | - | |
3664 | | - | |
3665 | | - | |
3666 | | - | |
3667 | | - | |
3668 | 3666 | | |
3669 | | - | |
| 3667 | + | |
3670 | 3668 | | |
3671 | 3669 | | |
3672 | 3670 | | |
| |||
0 commit comments