Searched refs:ev_config (Results 1 – 10 of 10) sorted by relevance
/external/bcc/tools/ |
D | llcstat.py | 83 ev_type=PerfType.HARDWARE, ev_config=PerfHWConfig.CACHE_MISSES, 86 ev_type=PerfType.HARDWARE, ev_config=PerfHWConfig.CACHE_REFERENCES,
|
D | runqlen.py | 188 ev_config=PerfSWConfig.CPU_CLOCK, fn_name="do_perf_event",
|
D | cpuunclaimed.py | 169 ev_config=PerfSWConfig.TASK_CLOCK, fn_name="do_perf_event",
|
D | profile.py | 248 ev_config=PerfSWConfig.CPU_CLOCK, fn_name="do_perf_event",
|
/external/bcc/src/python/bcc/ |
D | __init__.py | 868 def _attach_perf_event(self, progfd, ev_type, ev_config, argument 870 res = lib.bpf_attach_perf_event(progfd, ev_type, ev_config, 876 def attach_perf_event(self, ev_type=-1, ev_config=-1, fn_name=b"", argument 882 res[cpu] = self._attach_perf_event(fn.fd, ev_type, ev_config, 886 res[i] = self._attach_perf_event(fn.fd, ev_type, ev_config, 888 self.open_perf_events[(ev_type, ev_config)] = res 890 def detach_perf_event(self, ev_type=-1, ev_config=-1): argument 892 fds = self.open_perf_events[(ev_type, ev_config)] 895 ev_type, ev_config)) 902 del self.open_perf_events[(ev_type, ev_config)] [all …]
|
/external/bcc/src/cc/api/ |
D | BPF.cc | 299 StatusTuple BPF::attach_perf_event(uint32_t ev_type, uint32_t ev_config, in attach_perf_event() argument 303 auto ev_pair = std::make_pair(ev_type, ev_config); in attach_perf_event() 306 ev_type, ev_config); in attach_perf_event() 319 int fd = bpf_attach_perf_event(probe_fd, ev_type, ev_config, sample_period, in attach_perf_event() 327 ev_type, ev_config); in attach_perf_event() 456 StatusTuple BPF::detach_perf_event(uint32_t ev_type, uint32_t ev_config) { in detach_perf_event() argument 457 auto it = perf_events_.find(std::make_pair(ev_type, ev_config)); in detach_perf_event() 460 ev_config); in detach_perf_event()
|
D | BPF.h | 85 StatusTuple attach_perf_event(uint32_t ev_type, uint32_t ev_config, 95 StatusTuple detach_perf_event(uint32_t ev_type, uint32_t ev_config);
|
/external/bcc/src/cc/includes/ |
D | libbpf.h | 101 int bpf_attach_perf_event(int progfd, uint32_t ev_type, uint32_t ev_config,
|
/external/bcc/src/cc/ |
D | libbpf.h | 101 int bpf_attach_perf_event(int progfd, uint32_t ev_type, uint32_t ev_config,
|
D | libbpf.c | 1421 int bpf_attach_perf_event(int progfd, uint32_t ev_type, uint32_t ev_config, in bpf_attach_perf_event() argument 1424 if (invalid_perf_config(ev_type, ev_config)) { in bpf_attach_perf_event() 1436 attr.config = ev_config; in bpf_attach_perf_event()
|