Home
last modified time | relevance | path

Searched refs:ev_config (Results 1 – 10 of 10) sorted by relevance

/external/bcc/tools/
Dllcstat.py83 ev_type=PerfType.HARDWARE, ev_config=PerfHWConfig.CACHE_MISSES,
86 ev_type=PerfType.HARDWARE, ev_config=PerfHWConfig.CACHE_REFERENCES,
Drunqlen.py188 ev_config=PerfSWConfig.CPU_CLOCK, fn_name="do_perf_event",
Dcpuunclaimed.py169 ev_config=PerfSWConfig.TASK_CLOCK, fn_name="do_perf_event",
Dprofile.py248 ev_config=PerfSWConfig.CPU_CLOCK, fn_name="do_perf_event",
/external/bcc/src/python/bcc/
D__init__.py868 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/
DBPF.cc299 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()
DBPF.h85 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/
Dlibbpf.h101 int bpf_attach_perf_event(int progfd, uint32_t ev_type, uint32_t ev_config,
/external/bcc/src/cc/
Dlibbpf.h101 int bpf_attach_perf_event(int progfd, uint32_t ev_type, uint32_t ev_config,
Dlibbpf.c1421 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()