Jiri Olsa 3830d04a74 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>
2023-08-21 15:51:26 -07:00
..
2023-04-24 12:28:34 -07:00
2023-06-19 16:19:11 -07:00
2023-02-23 09:37:29 -08:00
2023-06-29 10:11:10 -07:00
2023-07-13 19:13:24 -07:00
2023-02-23 09:37:29 -08:00
2023-04-18 16:53:52 -07:00
2023-04-25 11:05:04 -07:00
2023-03-01 09:27:00 -08:00
2023-04-11 14:10:47 -06:00