Home
last modified time | relevance | path

Searched refs:ev_type (Results 1 – 22 of 22) sorted by relevance

/external/OpenCSD/decoder/include/common/
Dtrc_gen_elem.h67 void setEvent(const event_t ev_type, const uint16_t number);
123 inline void OcsdTraceElement::setEvent(const event_t ev_type, const uint16_t number) in setEvent() argument
125 trace_event.ev_type = (uint16_t)ev_type; in setEvent()
126 trace_event.ev_number = ev_type == EVENT_NUMBERED ? number : 0; in setEvent()
/external/autotest/client/bin/input/
Dinput_device.py260 def _ioctl_codes(self, ev_type): argument
264 self.events[ev_type] = {}
265 if ev_type not in EV_SIZES:
268 size = EV_SIZES[ev_type] // 8 # Convert bits to bytes
271 count = fcntl.ioctl(self.f, EVIOCGBIT(ev_type, size), ev_code, 1)
274 if ev_type == EV_ABS:
275 self.events[ev_type][c] = self._ioctl_absinfo(c)
276 elif ev_type == EV_SW:
277 self.events[ev_type][c] = self._ioctl_get_switch(c)
279 self.events[ev_type][c] = Valuator()
Dinput_event_recorder.py92 ev_type = int(result.group(2))
95 return Event(ev_type, ev_code, ev_value)
/external/wpa_supplicant_8/src/wps/
Dwps_upnp.h32 void *priv, enum upnp_wps_wlanevent_type ev_type,
46 enum upnp_wps_wlanevent_type ev_type,
Dwps_upnp.c811 enum upnp_wps_wlanevent_type ev_type, in upnp_wps_device_send_wlan_event() argument
827 os_snprintf(type, sizeof(type), "%1u", ev_type); in upnp_wps_device_send_wlan_event()
834 *(raw + pos) = (u8) ev_type; in upnp_wps_device_send_wlan_event()
853 sm->wlanevent_type = ev_type; in upnp_wps_device_send_wlan_event()
Dwps_upnp_web.c580 int ev_type; in web_process_put_wlan_response() local
605 ev_type = atol(val); in web_process_put_wlan_response()
643 if (ev_type == UPNP_WPS_WLANEVENT_TYPE_EAP) { in web_process_put_wlan_response()
656 iface->ctx->rx_req_put_wlan_response(iface->priv, ev_type, in web_process_put_wlan_response()
/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.py187 b.attach_perf_event(ev_type=PerfType.SOFTWARE,
Dcpuunclaimed.py168 b.attach_perf_event(ev_type=PerfType.SOFTWARE,
Dprofile.py247 b.attach_perf_event(ev_type=PerfType.SOFTWARE,
/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()
459 return StatusTuple(-1, "Perf Event type %d config %d not attached", ev_type, 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/OpenCSD/decoder/source/
Dtrc_gen_elem.cpp194 if(trace_event.ev_type == EVENT_TRIGGER) in toString()
196 else if(trace_event.ev_type == EVENT_NUMBERED) in toString()
/external/OpenCSD/decoder/include/opencsd/
Dtrc_gen_elem_types.h77 uint16_t ev_type; /**< event type - unknown (0) trigger (1), numbered event (2)*/ member
/external/crosvm/devices/src/virtio/input/
Dmod.rs292 let ev_type = self.subsel as u16; in build_config_memory() localVariable
294 if ev_type == 0 { in build_config_memory()
299 } else if let Some(supported_codes) = self.supported_events.get(&ev_type) { in build_config_memory()
/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()
1435 attr.type = ev_type; in bpf_attach_perf_event()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c1686 void *priv, enum upnp_wps_wlanevent_type ev_type, in hostapd_rx_req_put_wlan_response() argument
1695 MACSTR, ev_type, MAC2STR(mac_addr)); in hostapd_rx_req_put_wlan_response()
1698 if (ev_type != UPNP_WPS_WLANEVENT_TYPE_EAP) { in hostapd_rx_req_put_wlan_response()
1700 "PutWLANResponse WLANEventType %d", ev_type); in hostapd_rx_req_put_wlan_response()
/external/OpenCSD/decoder/source/etmv4/
Dtrc_pkt_decode_etmv4i.cpp1220 outElem().trace_event.ev_type = EVENT_NUMBERED; in addElemEvent()
/external/OpenCSD/decoder/docs/prog_guide/
Dprog_guide_generic_pkts.md302 uint16_t ev_type; /* event type - unknown (0) trigger (1), numbered event (2)*/