libbpf_load_test: fix map location

This test had bitrot.

Bug: N/A
Test: `atest libbpf_load_test`
Change-Id: I3480286e225d8dfbd0badd7bbb7cb77ff29ab0ea
This commit is contained in:
Steven Moreland 2020-01-14 11:36:43 -08:00
commit cdeb9203af
2 changed files with 2 additions and 1 deletions

View file

@ -110,4 +110,5 @@ cc_test {
required: [
"bpf_load_tp_prog.o",
],
require_root: true,
}

View file

@ -27,7 +27,7 @@ using ::testing::Test;
constexpr const char tp_prog_path[] =
"/sys/fs/bpf/prog_bpf_load_tp_prog_tracepoint_sched_sched_switch";
constexpr const char tp_map_path[] = "/sys/fs/bpf/map_bpf_load_tp_prog_cpu_pid";
constexpr const char tp_map_path[] = "/sys/fs/bpf/map_bpf_load_tp_prog_cpu_pid_map";
namespace android {
namespace bpf {