diff options
author | Martin KaFai Lau <martin.lau@kernel.org> | 2022-11-07 15:04:20 -0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-11-11 13:18:36 -0800 |
commit | 8cac7a59b252732d8427ebc29c3fc6c36ff653e1 (patch) | |
tree | cd82bf12012f8d4ed6b33a969a94750ecd1e48f6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 52929912d7bda040b43538e8d88e8d231b76eb4e (diff) |
selftests/bpf: Test skops->skb_hwtstamp
This patch tests reading the skops->skb_hwtstamp field.
A local test was also done such that the shinfo hwtstamp was temporary
set to a non zero value in the kernel bpf_skops_parse_hdr()
and the same value can be read by the skops test.
An adjustment is needed to the btf_dump selftest because
the changes in the 'struct bpf_sock_ops'.
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20221107230420.4192307-4-martin.lau@linux.dev
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions