diff options
author | Jiri Olsa <jolsa@kernel.org> | 2023-08-09 11:34:30 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-08-22 01:51:26 +0300 |
commit | 3830d04a7401f277185e4439eb259c1b13e76788 (patch) | |
tree | b642ea45f6a8743dbae7b8c75f80b69ef8f9f8f8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5902da6d8a523ed468ea1f28e001c7d5f30c042d (diff) | |
download | linux-3830d04a7401f277185e4439eb259c1b13e76788.tar.xz |
selftests/bpf: Move get_time_ns to testing_helpers.h
We'd like to have single copy of get_time_ns used b bench and test_progs,
but we can't just include bench.h, because of conflicting 'struct env'
objects.
Moving get_time_ns to testing_helpers.h which is being included by both
bench and test_progs objects.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20230809083440.3209381-19-jolsa@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions