diff options
| author | Kui-Feng Lee <[email protected]> | 2024-03-13 14:41:37 -0700 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-03-14 13:47:05 -0700 |
| commit | c911fc61a7ce367f9ea48e457f31bb171e80ca4d (patch) | |
| tree | 80958ee01093375725f14731119423303eee93b0 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 9bf48fa19a4b1d186e08b20bf7e5de26a15644fb (diff) | |
libbpf: Skip zeroed or null fields if not found in the kernel type.
Accept additional fields of a struct_ops type with all zero values even if
these fields are not in the corresponding type in the kernel. This provides
a way to be backward compatible. User space programs can use the same map
on a machine running an old kernel by clearing fields that do not exist in
the kernel.
Signed-off-by: Kui-Feng Lee <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions