Searched refs:BPFController (Results 1 – 5 of 5) sorted by relevance
| /developtools/profiler/hiebpf/src/ |
| D | bpf_controller.cpp | 47 int BPFController::LIBBPFPrintFunc(enum libbpf_print_level level, const char *format, va_list args) in LIBBPFPrintFunc() 55 BPFController::~BPFController() in ~BPFController() 80 std::unique_ptr<BPFController> BPFController::MakeUnique(const BPFConfig& config) in MakeUnique() 82 std::unique_ptr<BPFController> bpfctlr {new(std::nothrow) BPFController {config}}; in MakeUnique() 97 CHECK_TRUE(nr <= BPFController::DUMP_EVENTS_LIMIT, -1, "dump events exceeds limit"); in VerifyDumpEvents() 103 CHECK_TRUE(duration <= BPFController::TRACE_DURATION_LIMIT, -1, "trace duration exceeds limit"); in VerifyTraceDuration() 113 int BPFController::VerifySelectEventGroups(const std::set<HiebpfEventGroup> &selectEventGroups) in VerifySelectEventGroups() 120 int BPFController::VerifyConfigurations() in VerifyConfigurations() 136 int BPFController::SetUpBPF() in SetUpBPF() 169 int BPFController::FilterProgByEvents() in FilterProgByEvents() [all …]
|
| D | hiebpf.cpp | 58 static std::unique_ptr<BPFController> bpfController; 223 bpfController = BPFController::MakeUnique(GenBPFConfigFromFlags(cmd)); in main()
|
| /developtools/profiler/hiebpf/include/ |
| D | bpf_controller.h | 71 class BPFController { 73 ~BPFController(); 74 static std::unique_ptr<BPFController> MakeUnique(const struct BPFConfig& config); 88 BPFController(const struct BPFConfig& config):config_ {config} {} in BPFController() function 136 static int DumpFSTraceEvent(BPFController *bpfctlr, void *data, size_t dataSize); 137 static int DumpPFTraceEvent(BPFController *bpfctlr, void *data, size_t dataSize); 138 static int DumpBIOTraceEvent(BPFController *bpfctlr, void *data, size_t dataSize);
|
| D | command.h | 63 std::unique_ptr<BPFController> bpfControllerPtr_;
|
| /developtools/profiler/hiebpf/test/unittest/ |
| D | bpf_controller_test.cpp | 69 std::unique_ptr<BPFController> pCtx = BPFController::MakeUnique(cfg);
|