Skip to content

Commit

Permalink
fix(libebpfdiscoveryskel): Fix inPtrData member name in BPF tests (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
hparzych authored Oct 6, 2023
1 parent d65b35f commit 036ddbf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libebpfdiscoveryskel/test/DiscoveryTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@ class DiscoveryTest : public ::testing::Test {
}
}

discoveryTest_bpf* testSkel;
discoveryTest_bpf::discoveryTest_bpf__bss* testBss;

std::vector<char> inPtrData;

void checkLoaded() {
if (!isLoaded()) {
throw std::runtime_error("DiscoveryTest is uninitialized");
}
}

discoveryTest_bpf* testSkel;
discoveryTest_bpf::discoveryTest_bpf__bss* testBss;

std::vector<char> inPtrSrc;
};

void attachBpfProgram(bpf_program* prog) {
Expand Down

0 comments on commit 036ddbf

Please sign in to comment.