Home
last modified time | relevance | path

Searched refs:event_type (Results 1 – 25 of 99) 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
49 cras_audio_thread_event_message_init(&msg, event_type); in cras_audio_thread_event_send()
96 if (audio_thread_msg->event_type >= AUDIO_THREAD_EVENT_TYPE_COUNT) in handle_audio_thread_event_message()
100 &last_event_snapshot_time[audio_thread_msg->event_type]; in handle_audio_thread_event_message()
112 take_snapshot(audio_thread_msg->event_type); in handle_audio_thread_event_message()
/external/perfetto/test/trace_processor/
Dgraphics_frame_events.py38 trace.add_buffer_event_packet(ts=1, buffer_id=1, layer_name="layer1", frame_number=11, event_type=B…
39 trace.add_buffer_event_packet(ts=4, buffer_id=1, layer_name="layer1", frame_number=11, event_type=B…
40 trace.add_buffer_event_packet(ts=6, buffer_id=1, layer_name="layer1", frame_number=11, event_type=B…
41 trace.add_buffer_event_packet(ts=8, buffer_id=1, layer_name="layer1", frame_number=11, event_type=B…
42 trace.add_buffer_event_packet(ts=14, buffer_id=1, layer_name="layer1", frame_number=11, event_type=…
44 trace.add_buffer_event_packet(ts=6, buffer_id=2, layer_name="layer2", frame_number=12, event_type=B…
45 trace.add_buffer_event_packet(ts=8, buffer_id=2, layer_name="layer2", frame_number=12, event_type=B…
46 trace.add_buffer_event_packet(ts=9, buffer_id=2, layer_name="layer2", frame_number=12, event_type=B…
47 trace.add_buffer_event_packet(ts=11, buffer_id=2, layer_name="layer2", frame_number=12, event_type=…
48 trace.add_buffer_event_packet(ts=16, buffer_id=2, layer_name="layer2", frame_number=12, event_type=…
[all …]
/external/adhd/cras/src/tests/
Daudio_thread_monitor_unittest.cc25 message.event_type = (enum CRAS_AUDIO_THREAD_EVENT_TYPE)999; in ResetStubData()
44 EXPECT_EQ(message.event_type, AUDIO_THREAD_EVENT_BUSYLOOP); in TEST_F()
49 EXPECT_EQ(message.event_type, AUDIO_THREAD_EVENT_DEBUG); in TEST_F()
54 EXPECT_EQ(message.event_type, AUDIO_THREAD_EVENT_UNDERRUN); in TEST_F()
59 EXPECT_EQ(message.event_type, AUDIO_THREAD_EVENT_SEVERE_UNDERRUN); in TEST_F()
64 EXPECT_EQ(message.event_type, AUDIO_THREAD_EVENT_DROP_SAMPLES); in TEST_F()
75 msg.event_type = AUDIO_THREAD_EVENT_DEBUG; in TEST_F()
88 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/tensorflow/tensorflow/lite/profiling/
Dprofile_buffer.h53 EventType event_type; member
71 uint32_t BeginEvent(const char* tag, ProfileEvent::EventType event_type, in BeginEvent() argument
82 event_buffer_[index].event_type = event_type; in BeginEvent()
87 if (event_type != Profiler::EventType::OPERATOR_INVOKE_EVENT) { in BeginEvent()
114 if (event_buffer_[event_index].event_type != in EndEvent()
Dbuffered_profiler.h80 uint32_t BeginEvent(const char* tag, EventType event_type, in BeginEvent() argument
83 return buffer_.BeginEvent(tag, event_type, event_metadata, in BeginEvent()
/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/tensorflow/tensorflow/core/profiler/utils/
Devent_span.cc89 EventType event_type = boundary.type; in Update() local
92 priority_count_[event_type]++; in Update()
93 if (event_type > current_max_priority_) { in Update()
94 current_max_priority_ = event_type; in Update()
97 priority_count_[event_type]--; in Update()
98 if (event_type == current_max_priority_ && in Update()
99 priority_count_[event_type] == 0) { in Update()
103 for (int i = event_type - 1; i >= 0; i--) { in Update()
164 std::string PrintEventType(EventType event_type) { in PrintEventType() argument
165 switch (event_type) { in PrintEventType()
Dxplane_schema.h136 absl::string_view GetHostEventTypeStr(HostEventType event_type);
138 bool IsHostEventType(HostEventType event_type, absl::string_view event_name);
140 inline bool IsHostEventType(HostEventType event_type, in IsHostEventType() argument
142 return GetHostEventTypeStr(event_type) == event_name; in IsHostEventType()
Dxplane_schema.cc162 absl::string_view GetHostEventTypeStr(HostEventType event_type) { in GetHostEventTypeStr() argument
163 return GetHostEventTypeStrMap().at(event_type); in GetHostEventTypeStr()
167 if (auto event_type = gtl::FindOrNull(GetHostEventTypeMap(), event_name)) { in FindHostEventType() local
168 return *event_type; in FindHostEventType()
Dxplane_visitor.cc68 absl::optional<int64> event_type = event_type_getter(metadata.name()); in BuildEventTypeMap() local
69 if (event_type.has_value()) { in BuildEventTypeMap()
70 auto result = event_metadata_id_map_.emplace(metadata_id, *event_type); in BuildEventTypeMap()
72 event_type_map_.emplace(*event_type, &metadata); in BuildEventTypeMap()
/external/tensorflow/tensorflow/lite/core/api/
Dprofiler.h43 virtual uint32_t BeginEvent(const char* tag, EventType event_type,
48 virtual uint32_t BeginEvent(const char* tag, EventType event_type, in BeginEvent() argument
50 return BeginEvent(tag, event_type, event_metadata, /*primary subgraph*/ 0); in BeginEvent()
64 Profiler::EventType event_type = Profiler::EventType::DEFAULT,
68 event_handle_ = profiler_->BeginEvent(tag, event_type, event_metadata); in profiler_()
/external/bcc/src/cc/
Dlibbpf.c673 static int bpf_find_probe_type(const char *event_type) in bpf_find_probe_type() argument
679 ret = snprintf(buf, sizeof(buf), PMU_TYPE_FILE, event_type); in bpf_find_probe_type()
696 static int bpf_get_retprobe_bit(const char *event_type) in bpf_get_retprobe_bit() argument
702 ret = snprintf(buf, sizeof(buf), PMU_RETPROBE_FILE, event_type); in bpf_get_retprobe_bit()
726 int pid, char *event_type, int is_return) in bpf_try_perf_event_open_with_probe() argument
729 int type = bpf_find_probe_type(event_type); in bpf_try_perf_event_open_with_probe()
730 int is_return_bit = bpf_get_retprobe_bit(event_type); in bpf_try_perf_event_open_with_probe()
845 static char *event_type = "kprobe"; in bpf_attach_kprobe() local
849 pfd = bpf_try_perf_event_open_with_probe(fn_name, fn_offset, -1, event_type, in bpf_attach_kprobe()
854 snprintf(buf, sizeof(buf), "/sys/kernel/tracing/%s_events", event_type); in bpf_attach_kprobe()
[all …]
/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/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/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/client/cros/update_engine/
Dupdate_engine_event.py53 def __init__(self, event_type=None, event_result=None, version=None, argument
64 'event_type': event_type,
/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)
/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_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…

1234