commit | 3830d04a7401f277185e4439eb259c1b13e76788 | [log] [tgz] |
---|---|---|
author | Jiri Olsa <jolsa@kernel.org> | Wed Aug 09 10:34:30 2023 +0200 |
committer | Alexei Starovoitov <ast@kernel.org> | Mon Aug 21 15:51:26 2023 -0700 |
tree | b642ea45f6a8743dbae7b8c75f80b69ef8f9f8f8 | |
parent | 5902da6d8a523ed468ea1f28e001c7d5f30c042d [diff] |
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>