Home
last modified time | relevance | path

Searched refs:event_type (Results 1 – 25 of 79) sorted by relevance

1234

/external/ltp/testcases/kernel/sched/eas/
Dsched_prio_3_fifo.c61 int event_type; member
71 { .event_type = TRACE_RECORD_SCHED_WAKEUP,
75 { .event_type = TRACE_RECORD_SCHED_SWITCH,
78 { .event_type = TRACE_RECORD_SCHED_WAKEUP,
80 { .event_type = TRACE_RECORD_SCHED_SWITCH,
83 { .event_type = TRACE_RECORD_SCHED_SWITCH,
86 { .event_type = TRACE_RECORD_SCHED_WAKEUP,
88 { .event_type = TRACE_RECORD_SCHED_SWITCH,
91 { .event_type = TRACE_RECORD_SCHED_WAKEUP,
95 { .event_type = TRACE_RECORD_SCHED_SWITCH,
[all …]
Dtrace_parse.c55 tr->event_type); in print_trace_record()
56 if (tr->event_type == TRACE_RECORD_SCHED_PROCESS_EXIT) in print_trace_record()
58 else if (tr->event_type == TRACE_RECORD_SCHED_PROCESS_FORK) in print_trace_record()
60 else if (tr->event_type == TRACE_RECORD_SCHED_SWITCH) { in print_trace_record()
66 } else if (tr->event_type == TRACE_RECORD_SCHED_WAKEUP) { in print_trace_record()
70 } else if (tr->event_type == TRACE_RECORD_SUGOV_UTIL_UPDATE) { in print_trace_record()
75 } else if (tr->event_type == TRACE_RECORD_SUGOV_NEXT_FREQ) { in print_trace_record()
79 } else if (tr->event_type == TRACE_RECORD_CPU_FREQUENCY) { in print_trace_record()
83 } else if (tr->event_type == TRACE_RECORD_TRACING_MARK_WRITE) in print_trace_record()
95 static void *parse_event_data(unsigned int event_type, char *data) in parse_event_data() argument
[all …]
Dsugov_latency.c96 if (trace[i].event_type == TRACE_RECORD_TRACING_MARK_WRITE && in parse_results()
107 if (trace[i].event_type == TRACE_RECORD_TRACING_MARK_WRITE && in parse_results()
119 if (trace[i].event_type == TRACE_RECORD_CPU_FREQUENCY) { in parse_results()
133 if (trace[i].event_type == TRACE_RECORD_CPU_FREQUENCY) { in parse_results()
Dsugov_stale_util.c116 if (trace[i].event_type == TRACE_RECORD_SUGOV_UTIL_UPDATE) { in parse_results()
122 if (trace[i].event_type == TRACE_RECORD_TRACING_MARK_WRITE && in parse_results()
135 if (trace[i].event_type == TRACE_RECORD_SUGOV_NEXT_FREQ) { in parse_results()
/external/adhd/cras/src/server/
Dcras_audio_thread_monitor.c19 enum CRAS_AUDIO_THREAD_EVENT_TYPE event_type; member
22 static void take_snapshot(enum CRAS_AUDIO_THREAD_EVENT_TYPE event_type) in take_snapshot() argument
31 snapshot->event_type = event_type; in take_snapshot()
39 enum CRAS_AUDIO_THREAD_EVENT_TYPE event_type) in cras_audio_thread_event_message_init() argument
43 msg->event_type = event_type; in cras_audio_thread_event_message_init()
46 int cras_audio_thread_event_send(enum CRAS_AUDIO_THREAD_EVENT_TYPE event_type) in cras_audio_thread_event_send() argument
50 cras_audio_thread_event_message_init(&msg, event_type); in cras_audio_thread_event_send()
54 event_type); in cras_audio_thread_event_send()
99 if(audio_thread_msg->event_type >= AUDIO_THREAD_EVENT_TYPE_COUNT) in handle_audio_thread_event_message()
103 &last_event_snapshot_time[audio_thread_msg->event_type]; in handle_audio_thread_event_message()
[all …]
/external/adhd/cras/src/tests/
Daudio_thread_monitor_unittest.cc25 message.event_type = (enum CRAS_AUDIO_THREAD_EVENT_TYPE)999; in ResetStubData()
47 EXPECT_EQ(message.event_type, AUDIO_THREAD_EVENT_BUSYLOOP); in TEST_F()
52 EXPECT_EQ(message.event_type, AUDIO_THREAD_EVENT_DEBUG); in TEST_F()
57 EXPECT_EQ(message.event_type, AUDIO_THREAD_EVENT_UNDERRUN); in TEST_F()
62 EXPECT_EQ(message.event_type, AUDIO_THREAD_EVENT_SEVERE_UNDERRUN); in TEST_F()
73 msg.event_type = AUDIO_THREAD_EVENT_DEBUG; in TEST_F()
86 msg.event_type = (enum CRAS_AUDIO_THREAD_EVENT_TYPE)999; in TEST_F()
/external/bcc/src/lua/bpf/
Dcdef.lua237 function M.event_reader(reader, event_type)
239 if event_type then
240 …assert(type(event_type) == 'string' and ffi.typeof(event_type), 'not a valid type for event reader…
241 event_type = ffi.typeof(event_type .. '*') -- Convert type to pointer-to-type
244 return setmetatable({reader=reader,type=event_type}, {__index = {
254 if ev and event_type then
257 …ev = ffi.cast(event_type, ffi.cast('char *', ev) + ffi.sizeof('struct perf_event_header') + ffi.si…
/external/tcpdump/
Dprint-usb.c40 get_direction(int transfer_type, int event_type) in get_direction() argument
49 switch(event_type) in get_direction()
63 switch(event_type) in get_direction()
106 switch(uh->event_type) in usb_header_print()
121 direction = get_direction(uh->transfer_type, uh->event_type); in usb_header_print()
/external/v8/src/third_party/vtune/
Djitprofiling.cc151 ITT_EXTERN_C int JITAPI iJIT_NotifyEvent(iJIT_JVM_EVENT event_type, void *EventSpecificData) in iJIT_NotifyEvent() argument
191 if ((event_type == iJVM_EVENT_TYPE_ENTER_NIDS || event_type == iJVM_EVENT_TYPE_LEAVE_NIDS) && in iJIT_NotifyEvent()
200 if (event_type == iJVM_EVENT_TYPE_ENTER_NIDS) in iJIT_NotifyEvent()
235 if (event_type == iJVM_EVENT_TYPE_LEAVE_NIDS) in iJIT_NotifyEvent()
259 if (event_type == iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED) in iJIT_NotifyEvent()
266 ReturnValue = (int)FUNC_NotifyEvent(event_type, EventSpecificData); in iJIT_NotifyEvent()
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
Djitprofiling.c114 iJIT_NotifyEvent(iJIT_JVM_EVENT event_type, void *EventSpecificData) in iJIT_NotifyEvent() argument
154 if ((event_type == iJVM_EVENT_TYPE_ENTER_NIDS || in iJIT_NotifyEvent()
155 event_type == iJVM_EVENT_TYPE_LEAVE_NIDS) && in iJIT_NotifyEvent()
164 if (event_type == iJVM_EVENT_TYPE_ENTER_NIDS) in iJIT_NotifyEvent()
202 if (event_type == iJVM_EVENT_TYPE_LEAVE_NIDS) in iJIT_NotifyEvent()
231 if (event_type == iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED) in iJIT_NotifyEvent()
238 ReturnValue = (int)FUNC_NotifyEvent(event_type, EventSpecificData); in iJIT_NotifyEvent()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/IntelJITEvents/
Djitprofiling.c113 iJIT_NotifyEvent(iJIT_JVM_EVENT event_type, void *EventSpecificData) in iJIT_NotifyEvent() argument
153 if ((event_type == iJVM_EVENT_TYPE_ENTER_NIDS || in iJIT_NotifyEvent()
154 event_type == iJVM_EVENT_TYPE_LEAVE_NIDS) && in iJIT_NotifyEvent()
163 if (event_type == iJVM_EVENT_TYPE_ENTER_NIDS) in iJIT_NotifyEvent()
201 if (event_type == iJVM_EVENT_TYPE_LEAVE_NIDS) in iJIT_NotifyEvent()
230 if (event_type == iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED) in iJIT_NotifyEvent()
237 ReturnValue = (int)FUNC_NotifyEvent(event_type, EventSpecificData); in iJIT_NotifyEvent()
/external/bcc/src/cc/
Dlibbpf.c661 static int bpf_find_probe_type(const char *event_type) in bpf_find_probe_type() argument
667 ret = snprintf(buf, sizeof(buf), PMU_TYPE_FILE, event_type); in bpf_find_probe_type()
684 static int bpf_get_retprobe_bit(const char *event_type) in bpf_get_retprobe_bit() argument
690 ret = snprintf(buf, sizeof(buf), PMU_RETPROBE_FILE, event_type); in bpf_get_retprobe_bit()
714 int pid, char *event_type, int is_return) in bpf_try_perf_event_open_with_probe() argument
717 int type = bpf_find_probe_type(event_type); in bpf_try_perf_event_open_with_probe()
718 int is_return_bit = bpf_get_retprobe_bit(event_type); in bpf_try_perf_event_open_with_probe()
833 static char *event_type = "kprobe"; in bpf_attach_kprobe() local
836 pfd = bpf_try_perf_event_open_with_probe(fn_name, fn_offset, -1, event_type, in bpf_attach_kprobe()
841 snprintf(buf, sizeof(buf), "/sys/kernel/debug/tracing/%s_events", event_type); in bpf_attach_kprobe()
[all …]
/external/tensorflow/tensorflow/lite/profiling/
Dprofile_buffer.h48 EventType event_type; member
75 uint32_t BeginEvent(const char* tag, ProfileEvent::EventType event_type, in BeginEvent() argument
86 event_buffer_[index].event_type = event_type; in BeginEvent()
/external/autotest/site_utils/
Dcloud_console_client.py75 def send_event(self, event_type=None, event_data=None): argument
243 def send_event(self, event_type=None, event_data=None): argument
254 if not event_type:
263 event.type = event_type
/external/sonivox/jet_tools/JetCreator/
DJetFile.py112 …def __init__(self, event_name, event_type, event_id, track_num, channel_num, event_start, event_en… argument
114 self.event_type = event_type
183 if jet_event.event_type == JetDefs.E_CLIP:
214 elif jet_event.event_type == JetDefs.E_EOS:
230 elif jet_event.event_type == JetDefs.E_APP:
533 …def AddEvent(self, segname, event_name, event_type, event_id, track_num, channel_num, event_start,… argument
537 …segment.jetevents.append(JetEvent(event_name, event_type, int(event_id), int(track_num), int(chann…
546 …def UpdateEvent(self, segname, orgeventname, event_name, event_type, event_id, track_num, channel_… argument
553 jetevent.event_type = event_type
699 if jet_event.event_type == JetDefs.E_CLIP:
[all …]
/external/autotest/server/cros/update_engine/
Dupdate_engine_test.py108 event_type=uee.EVENT_TYPE_DOWNLOAD_STARTED,
113 event_type=uee.EVENT_TYPE_DOWNLOAD_FINISHED,
118 event_type=uee.EVENT_TYPE_UPDATE_COMPLETE,
153 event_type=uee.EVENT_TYPE_REBOOTED_AFTER_UPDATE,
309 def _timeout_error_message(self, desc, timeout, event_type=None): argument
311 if event_type is not None:
312 desc += ' (%s)' % uee.get_event_type(event_type)
Dupdate_engine_event.py53 def __init__(self, event_type=None, event_result=None, version=None, argument
64 'event_type': event_type,
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/msm_vidc/msm_v4l2_vidc_buffer_event_start/
Dformat9 field:char * event_type; offset:8; size:8; signed:0;
16 …tamp : %lld, alloc_len : 0x%x, filled_len : 0x%x, offset : 0x%x", REC->event_type, REC->device_add…
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/msm_vidc/msm_v4l2_vidc_buffer_event_end/
Dformat9 field:char * event_type; offset:8; size:8; signed:0;
16 …tamp : %lld, alloc_len : 0x%x, filled_len : 0x%x, offset : 0x%x", REC->event_type, REC->device_add…
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/msm_vidc/msm_v4l2_vidc_buffer_event_start/
Dformat9 field:char * event_type; offset:8; size:4; signed:0;
16 …tamp : %lld, alloc_len : 0x%x, filled_len : 0x%x, offset : 0x%x", REC->event_type, REC->device_add…
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/msm_vidc/msm_v4l2_vidc_buffer_event_end/
Dformat9 field:char * event_type; offset:8; size:4; signed:0;
16 …tamp : %lld, alloc_len : 0x%x, filled_len : 0x%x, offset : 0x%x", REC->event_type, REC->device_add…
/external/libpcap/pcap/
Dusb.h81 uint8_t event_type; member
106 uint8_t event_type; member
/external/pdfium/third_party/libopenjpeg20/
Devent.c91 OPJ_BOOL opj_event_msg(opj_event_mgr_t* p_event_mgr, OPJ_INT32 event_type, in opj_event_msg() argument
99 switch (event_type) { in opj_event_msg()
/external/perf_data_converter/src/quipper/
Dperf_reader_test.cc45 const struct event_type_event event_type = { in TEST() local
52 .event_type = { in TEST()
57 input.write(reinterpret_cast<const char*>(&event_type), sizeof(event_type)); in TEST()
95 const struct event_type_event event_type = { in TEST() local
102 .event_type = { in TEST()
107 input.write(reinterpret_cast<const char*>(&event_type), sizeof(event_type)); in TEST()
1494 const struct event_type_event event_type = { in TEST() local
1501 .event_type = { in TEST()
1506 input.write(reinterpret_cast<const char*>(&event_type), sizeof(event_type)); in TEST()
1610 const struct event_type_event event_type = { in TEST() local
[all …]
/external/python/google-api-python-client/samples/analytics/
Dmanagement_v3_reference.py363 event_type = event_condition.get('type')
364 print('Type = %s' % event_type)
366 if event_type in ('CATEGORY', 'ACTION', 'LABEL'):

1234