diff options
author | Stanislav Fomichev <[email protected]> | 2019-10-15 11:31:24 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2019-10-15 16:24:26 -0700 |
commit | ba94094818a811758570990648160a6ba2ca05cb (patch) | |
tree | 3617cb0fba9170b15e8f3f2c0ad7bfae8c28f5ce /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | da927466a152a9497c05926a95c6aebba6d3ad5b (diff) |
bpf: Allow __sk_buff tstamp in BPF_PROG_TEST_RUN
It's useful for implementing EDT related tests (set tstamp, run the
test, see how the tstamp is changed or observe some other parameter).
Note that bpf_ktime_get_ns() helper is using monotonic clock, so for
the BPF programs that compare tstamp against it, tstamp should be
derived from clock_gettime(CLOCK_MONOTONIC, ...).
Signed-off-by: Stanislav Fomichev <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions