Home
last modified time | relevance | path

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

1234567

/external/perfetto/test/trace_processor/graphics/
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/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.c61 tr->event_type); in print_trace_record()
62 if (tr->event_type == TRACE_RECORD_SCHED_PROCESS_EXIT) in print_trace_record()
64 else if (tr->event_type == TRACE_RECORD_SCHED_PROCESS_FORK) in print_trace_record()
66 else if (tr->event_type == TRACE_RECORD_SCHED_SWITCH) { in print_trace_record()
72 } else if (tr->event_type == TRACE_RECORD_SCHED_WAKEUP) { in print_trace_record()
76 } else if (tr->event_type == TRACE_RECORD_SUGOV_UTIL_UPDATE) { in print_trace_record()
81 } else if (tr->event_type == TRACE_RECORD_SUGOV_NEXT_FREQ) { in print_trace_record()
85 } else if (tr->event_type == TRACE_RECORD_CPU_FREQUENCY) { in print_trace_record()
89 } else if (tr->event_type == TRACE_RECORD_TRACING_MARK_WRITE) in print_trace_record()
120 static void *parse_event_data(unsigned int event_type, char *data) in parse_event_data() argument
[all …]
/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()
111 if (audio_thread_msg->event_type >= AUDIO_THREAD_EVENT_TYPE_COUNT) in handle_audio_thread_event_message()
115 &last_event_snapshot_time[audio_thread_msg->event_type]; in handle_audio_thread_event_message()
127 take_snapshot(audio_thread_msg->event_type); in handle_audio_thread_event_message()
/external/pigweed/pw_trace/py/pw_trace/
Dtrace.py47 event_type: TraceType
59 def event_has_trace_id(event_type): argument
60 return event_type in {
72 event.event_type is None or event.label is None:
81 if event.event_type == TraceType.DurationStart:
84 elif event.event_type == TraceType.DurationEnd:
87 elif event.event_type == TraceType.DurationGroupStart:
90 elif event.event_type == TraceType.DurationGroupEnd:
93 elif event.event_type == TraceType.Instantaneous:
96 elif event.event_type == TraceType.InstantaneousGroup:
[all …]
/external/pigweed/pw_trace_tokenized/
Dtrace_test.cc48 pw::trace::EventType event_type; member
52 return trace_ref == b.trace_ref && event_type == b.event_type && in operator ==()
89 pw_trace_EventType event_type, in TraceEventCallback() argument
98 test_interface->event_match_.event_type == event_type || in TraceEventCallback()
114 TraceInfo{trace_ref, event_type, module, trace_id}; in TraceEventCallback()
175 #define _EXPECT_TRACE3(interface, event_type, label) \ argument
177 event_type, \
183 #define _EXPECT_TRACE4(interface, event_type, label, group) \ argument
185 event_type, \
191 #define _EXPECT_TRACE5(interface, event_type, label, group, trace_id) \ argument
[all …]
Dtrace.cc31 EventType event_type, in HandleTraceEvent() argument
47 event_type, in HandleTraceEvent()
75 EventType event_type = event_block->event_type; in HandleNextItemInQueue() local
88 event_type, in HandleNextItemInQueue()
101 event_type, in HandleNextItemInQueue()
131 if (PW_TRACE_HAS_TRACE_ID(event_type)) { in HandleNextItemInQueue()
152 EventType event_type, in CallEventCallbacks() argument
163 event_type, in CallEventCallbacks()
306 pw_trace_EventType event_type, in pw_trace_TraceEvent() argument
313 trace_token, event_type, module, trace_id, flags, data_buffer, data_size); in pw_trace_TraceEvent()
/external/tensorflow/tensorflow/lite/profiling/
Dbuffered_profiler.h83 uint32_t BeginEvent(const char* tag, EventType event_type, in BeginEvent() argument
86 if (!ShouldAddEvent(event_type)) return kInvalidEventHandle; in BeginEvent()
87 return buffer_.BeginEvent(tag, event_type, event_metadata1, in BeginEvent()
100 void AddEvent(const char* tag, EventType event_type, uint64_t start, in AddEvent() argument
103 if (!ShouldAddEvent(event_type)) return; in AddEvent()
104 buffer_.AddEvent(tag, event_type, start, end, event_metadata1, in AddEvent()
121 bool ShouldAddEvent(EventType event_type) { in ShouldAddEvent() argument
122 return (static_cast<uint64_t>(event_type) & supported_event_types_) != 0; in ShouldAddEvent()
Dprofile_buffer.h53 EventType event_type; member
72 uint32_t BeginEvent(const char* tag, ProfileEvent::EventType event_type, in BeginEvent() argument
84 event_buffer_[index].event_type = event_type; in BeginEvent()
89 if (event_type != Profiler::EventType::OPERATOR_INVOKE_EVENT) { in BeginEvent()
117 if (event_buffer_[event_index].event_type !=
129 void AddEvent(const char* tag, ProfileEvent::EventType event_type, in AddEvent() argument
141 event_buffer_[index].event_type = event_type; in AddEvent()
/external/pigweed/pw_trace_tokenized/public/pw_trace_tokenized/internal/
Dtrace_tokenized_internal.h65 pw_trace_EventType event_type,
81 #define PW_TRACE(event_type, flags, label, group, trace_id) \ argument
84 PW_TRACE_REF(event_type, PW_TRACE_MODULE_NAME, label, flags, group); \
86 event_type, \
95 event_type, flags, label, group, trace_id, type, data, size) \ argument
98 event_type, PW_TRACE_MODULE_NAME, label, flags, group, type); \
100 event_type, \
/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/pigweed/pw_trace_tokenized/public/pw_trace_tokenized/
Dtrace_tokenized.h50 EventType event_type; member
59 EventType event_type, in TryPushBack() argument
69 event_queue_[head_].event_type = event_type; in TryPushBack()
127 EventType event_type,
195 #define PW_TRACE_REF(event_type, module, label, flags, group) \ argument
197 PW_STRINGIFY(event_type) "|" PW_STRINGIFY( \
200 #define PW_TRACE_REF_DATA(event_type, module, label, flags, group, type) \ argument
203 PW_STRINGIFY(event_type) "|" PW_STRINGIFY(flags) "|" module "|" group \
/external/llvm-project/flang/test/Semantics/
Dallocate13.f905 type event_type type
18 type(event_type), pointer :: event
32 type(event_type), allocatable :: event
36 type(event_type) :: event
51 type, extends(event_type) :: noktype6
77 type(event_type), allocatable :: event[:]
92 type(event_type), allocatable :: eventsrc[:]
152 type(event_type), allocatable :: event
161 type(event_type), allocatable :: team[:]
166 class(event_type), allocatable :: teamsrc[:]
Dresolve87.f907 type event_type type
26 type(event_type) :: parentField
37 type(event_type) :: childField
41 type(event_type) :: childField
44 type, extends(event_type) :: goodChildType4
55 type(event_type) :: childField
87 type(event_type) :: childField
/external/llvm-project/lldb/utils/lui/
Dsourcewin.py221 event_type = lldb.SBBreakpoint.GetBreakpointEventTypeFromEvent(event)
222 if event_type == lldb.eBreakpointEventTypeEnabled \
223 or event_type == lldb.eBreakpointEventTypeAdded \
224 or event_type == lldb.eBreakpointEventTypeLocationsResolved \
225 or event_type == lldb.eBreakpointEventTypeLocationsAdded:
227 elif event_type == lldb.eBreakpointEventTypeRemoved \
228 or event_type == lldb.eBreakpointEventTypeLocationsRemoved \
229 or event_type == lldb.eBreakpointEventTypeDisabled:
231 elif event_type == lldb.eBreakpointEventTypeCommandChanged \
232 or event_type == lldb.eBreakpointEventTypeConditionChanged \
[all …]
/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/pigweed/pw_trace/pw_trace_test/
Dfake_backend.h59 Event(pw_trace_EventType event_type, in Event() argument
64 : event_type_(event_type), in Event()
73 Event(pw_trace_EventType event_type, in Event() argument
81 : event_type_(event_type), in Event()
135 #define PW_TRACE(event_type, flags, label, group, trace_id) \ argument
136 LastEvent::Instance().Set(Event(event_type, flags, label, group, trace_id));
139 event_type, flags, label, group, trace_id, type, data, size) \ argument
141 Event(event_type, flags, label, group, trace_id, type, data, size));
/external/tensorflow/tensorflow/lite/core/api/
Dprofiler.h61 virtual uint32_t BeginEvent(const char* tag, EventType event_type,
65 uint32_t BeginEvent(const char* tag, EventType event_type, in BeginEvent() argument
67 return BeginEvent(tag, event_type, event_metadata, /*event_metadata2*/ 0); in BeginEvent()
85 void AddEvent(const char* tag, EventType event_type, uint64_t start, in AddEvent() argument
87 AddEvent(tag, event_type, start, end, event_metadata, in AddEvent()
91 virtual void AddEvent(const char* tag, EventType event_type, uint64_t start, in AddEvent() argument
106 Profiler::EventType event_type = Profiler::EventType::DEFAULT,
110 event_handle_ = profiler_->BeginEvent(tag, event_type, event_metadata); in profiler_()
/external/llvm-project/lldb/include/lldb/Utility/
DBroadcaster.h270 void BroadcastEvent(uint32_t event_type, in BroadcastEvent() argument
272 m_broadcaster_sp->BroadcastEvent(event_type, event_data_sp); in BroadcastEvent()
275 void BroadcastEvent(uint32_t event_type, EventData *event_data = nullptr) {
276 m_broadcaster_sp->BroadcastEvent(event_type, event_data);
279 void BroadcastEventIfUnique(uint32_t event_type,
281 m_broadcaster_sp->BroadcastEventIfUnique(event_type, event_data);
345 bool EventTypeHasListeners(uint32_t event_type) { in EventTypeHasListeners() argument
346 return m_broadcaster_sp->EventTypeHasListeners(event_type); in EventTypeHasListeners()
435 void BroadcastEvent(uint32_t event_type, EventData *event_data = nullptr);
437 void BroadcastEvent(uint32_t event_type,
[all …]
/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/webrtc/logging/rtc_event_log/
Dfake_rtc_event_log.h32 int GetEventCount(RtcEvent::Type event_type) { return count_[event_type]; } in GetEventCount() argument
35 void IncrementEventCount(RtcEvent::Type event_type) { ++count_[event_type]; } in IncrementEventCount() argument
/external/crosvm/base/src/
Dwait_context.rs88 event_type: EventType, in add_for_event()
93 convert_to_watching_events(event_type), in add_for_event()
111 event_type: EventType, in modify()
116 convert_to_watching_events(event_type), in modify()
153 fn convert_to_watching_events(event_type: EventType) -> WatchingEvents { in convert_to_watching_events()
154 match event_type { in convert_to_watching_events()
/external/tensorflow/tensorflow/core/profiler/utils/
Devent_span.cc95 EventType event_type = boundary.type; in Update() local
98 priority_count_[event_type]++; in Update()
99 if (event_type > current_max_priority_) { in Update()
100 current_max_priority_ = event_type; in Update()
103 priority_count_[event_type]--; in Update()
104 if (event_type == current_max_priority_ && in Update()
105 priority_count_[event_type] == 0) { in Update()
109 for (int i = event_type - 1; i >= 0; i--) { in Update()
173 absl::string_view GetGenericEventTypeStr(GenericEventType event_type) { in GetGenericEventTypeStr() argument
174 return GetGenericEventTypeStrMap().at(event_type); in GetGenericEventTypeStr()
[all …]
/external/llvm-project/lldb/source/Utility/
DBroadcaster.cpp150 bool Broadcaster::BroadcasterImpl::EventTypeHasListeners(uint32_t event_type) { in EventTypeHasListeners() argument
153 if (!m_hijacking_listeners.empty() && event_type & m_hijacking_masks.back()) in EventTypeHasListeners()
157 if (pair.second & event_type) in EventTypeHasListeners()
200 const uint32_t event_type = event_sp->GetType(); in PrivateBroadcastEvent() local
209 if ((event_type & m_hijacking_masks.back()) == 0) in PrivateBroadcastEvent()
226 &m_broadcaster, event_type)) in PrivateBroadcastEvent()
231 if (!(pair.second & event_type)) in PrivateBroadcastEvent()
234 &m_broadcaster, event_type)) in PrivateBroadcastEvent()
242 void Broadcaster::BroadcasterImpl::BroadcastEvent(uint32_t event_type, in BroadcastEvent() argument
244 auto event_sp = std::make_shared<Event>(event_type, event_data); in BroadcastEvent()
[all …]
/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 …]

1234567