diff options
author | Yonghong Song <[email protected]> | 2020-05-09 10:59:19 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-05-09 17:05:27 -0700 |
commit | 5fbc220862fc7a53a0455ccd2d96c82141e222d4 (patch) | |
tree | a163830ff0f8a707eb45743aa95b3947857e0d1f /tools/perf/scripts/python/sched-migration.py | |
parent | c09add2fbc5aece00a5b54a48ce39fd4e3284d87 (diff) |
tools/libpf: Add offsetof/container_of macro in bpf_helpers.h
These two helpers will be used later in bpf_iter bpf program
bpf_iter_netlink.c. Put them in bpf_helpers.h since they could
be useful in other cases.
Signed-off-by: Yonghong Song <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions