HomeSort by relevance Sort by last modified time
    Searched refs:event_type (Results 1 - 25 of 121) sorted by null

1 2 3 4 5

  /system/extras/simpleperf/
event_type.cpp 17 #include "event_type.h"
36 static bool IsEventTypeSupportedByKernel(const EventType& event_type) {
37 auto event_fd = EventFd::OpenEventFileForProcess(CreateDefaultPerfEventAttr(event_type), getpid());
52 for (auto& event_type : event_type_array) {
53 if (event_type.name == name) {
54 result = &event_type;
59 LOG(ERROR) << "Unknown event_type '" << name
72 for (auto& event_type : event_type_array) {
73 if (event_type.type == type && event_type.config == config)
    [all...]
cmd_list.cpp 24 #include "event_type.h"
30 for (auto& event_type : event_types) {
31 if (event_type.type == type && event_type.IsSupportedByKernel()) {
32 printf(" %s\n", event_type.name);
event_attr.h 27 perf_event_attr CreateDefaultPerfEventAttr(const EventType& event_type);
event_selection_set.cpp 23 #include "event_type.h"
25 void EventSelectionSet::AddEventType(const EventType& event_type) {
27 selection.event_type = &event_type;
28 selection.event_attr = CreateDefaultPerfEventAttr(event_type);
75 LOG(ERROR) << "failed to open perf event file for event_type " << selection.event_type->name
87 PLOG(ERROR) << "failed to open perf event file for event type " << selection.event_type->name
118 counters_map->insert(std::make_pair(selection.event_type, counters));
192 const EventType& event_type) {
    [all...]
event_selection_set.h 50 void AddEventType(const EventType& event_type);
66 const perf_event_attr& FindEventAttrByType(const EventType& event_type);
67 const std::vector<std::unique_ptr<EventFd>>& FindEventFdsByType(const EventType& event_type);
71 const EventType* event_type; member in struct:EventSelectionSet::EventSelection
75 EventSelection* FindSelectionByType(const EventType& event_type);
record_test.cpp 20 #include "event_type.h"
27 const EventType* event_type = EventTypeFactory::FindEventTypeByName("cpu-cycles"); local
28 ASSERT_TRUE(event_type != nullptr);
29 event_attr = CreateDefaultPerfEventAttr(*event_type);
event_attr.cpp 26 #include "event_type.h"
74 perf_event_attr CreateDefaultPerfEventAttr(const EventType& event_type) {
78 attr.type = event_type.type;
79 attr.config = event_type.config;
93 const EventType* event_type = EventTypeFactory::FindEventTypeByConfig(attr.type, attr.config); local
94 if (event_type != nullptr) {
95 event_name = event_type->name;
generate_event_type_table.py 19 def gen_event_type_entry_str(event_type_name, event_type, event_config):
24 return '{"%s", %s, %s},\n' % (event_type_name, event_type, event_config)
cmd_stat.cpp 29 #include "event_type.h"
131 for (auto& event_type : event_types) {
132 if (!AddMeasuredEventType(event_type)) {
156 const EventType* event_type = local
158 if (event_type == nullptr) {
161 event_selection_set_.AddEventType(*event_type);
183 auto& event_type = pair.first; local
213 event_type->name);
record_file_test.cpp 23 #include "event_type.h"
35 const EventType* event_type = EventTypeFactory::FindEventTypeByName("cpu-cycles"); local
36 ASSERT_TRUE(event_type != nullptr);
37 event_attr = CreateDefaultPerfEventAttr(*event_type);
  /external/tcpdump/
print-usb.c 40 get_direction(int transfer_type, int event_type)
49 switch(event_type)
63 switch(event_type)
106 switch(uh->event_type)
121 direction = get_direction(uh->transfer_type, uh->event_type);
  /external/lldb/scripts/Python/interface/
SBBroadcaster.i 41 BroadcastEventByType (uint32_t event_type, bool unique = false);
56 EventTypeHasListeners (uint32_t event_type);
  /external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
event.h 85 * @param event_type Event type or callback to use to send the message
90 OPJ_BOOL opj_event_msg(opj_event_mgr_t* event_mgr, OPJ_INT32 event_type, const char *fmt, ...);
event.c 86 OPJ_BOOL opj_event_msg(opj_event_mgr_t* p_event_mgr, OPJ_INT32 event_type, const char *fmt, ...) {
92 switch(event_type) {
  /external/lldb/source/API/
SBEvent.cpp 34 SBEvent::SBEvent (uint32_t event_type, const char *cstr, uint32_t cstr_len) :
35 m_event_sp (new Event (event_type, new EventDataBytes (cstr, cstr_len))),
87 uint32_t event_type = 0; local
89 event_type = lldb_event->GetType();
94 if (lldb_event && lldb_event->GetBroadcaster() && lldb_event->GetBroadcaster()->GetEventNames(sstr, event_type, true))
95 log->Printf ("SBEvent(%p)::GetType () => 0x%8.8x (%s)", get(), event_type, sstr.GetData());
97 log->Printf ("SBEvent(%p)::GetType () => 0x%8.8x", get(), event_type);
101 return event_type;
SBBroadcaster.cpp 73 SBBroadcaster::BroadcastEventByType (uint32_t event_type, bool unique)
78 log->Printf ("SBBroadcaster(%p)::BroadcastEventByType (event_type=0x%8.8x, unique=%i)", m_opaque_ptr, event_type, unique);
84 m_opaque_ptr->BroadcastEventIfUnique (event_type);
86 m_opaque_ptr->BroadcastEvent (event_type);
134 SBBroadcaster::EventTypeHasListeners (uint32_t event_type)
137 return m_opaque_ptr->EventTypeHasListeners (event_type);
  /hardware/libhardware/include/hardware/
activity_recognition.h 87 * activity_event_t.event_type = ACTIVITY_EVENT_FLUSH_COMPLETE
103 * Each event is a separate activity with event_type indicating whether this activity has started
104 * or ended. Eg event: (event_type="enter", activity="ON_FOOT", timestamp)
108 uint32_t event_type; member in struct:activity_event
178 * overlap with each other. Each (activity, event_type) pair can be activated or deactivated
184 * event_type - Specific transition of the activity that needs to be detected.
190 uint32_t activity_handle, uint32_t event_type, int64_t max_batch_report_latency_ns);
193 * Disables detection of a specific (activity, event_type) pair.
196 uint32_t activity_handle, uint32_t event_type);
  /external/svox/pico/lib/
picopam.c 421 picoos_uint8 event_type, picoos_uint8 direction);
423 picoos_uint8 event_type, picoos_uint8 direction);
    [all...]
  /external/libpcap/pcap/
usb.h 81 u_int8_t event_type; member in struct:_usb_header
106 u_int8_t event_type; member in struct:_usb_header_mmapped
  /external/lldb/include/lldb/API/
SBBroadcaster.h 38 BroadcastEventByType (uint32_t event_type, bool unique = false);
53 EventTypeHasListeners (uint32_t event_type);
  /external/llvm/lib/ExecutionEngine/IntelJITEvents/
jitprofiling.c 114 iJIT_NotifyEvent(iJIT_JVM_EVENT event_type, void *EventSpecificData)
154 if ((event_type == iJVM_EVENT_TYPE_ENTER_NIDS ||
155 event_type == iJVM_EVENT_TYPE_LEAVE_NIDS) &&
164 if (event_type == iJVM_EVENT_TYPE_ENTER_NIDS)
202 if (event_type == iJVM_EVENT_TYPE_LEAVE_NIDS)
231 if (event_type == iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED)
238 ReturnValue = (int)FUNC_NotifyEvent(event_type, EventSpecificData);
  /external/v8/src/third_party/vtune/
jitprofiling.cc 151 ITT_EXTERN_C int JITAPI iJIT_NotifyEvent(iJIT_JVM_EVENT event_type, void *EventSpecificData)
191 if ((event_type == iJVM_EVENT_TYPE_ENTER_NIDS || event_type == iJVM_EVENT_TYPE_LEAVE_NIDS) &&
200 if (event_type == iJVM_EVENT_TYPE_ENTER_NIDS)
235 if (event_type == iJVM_EVENT_TYPE_LEAVE_NIDS)
259 if (event_type == iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED)
266 ReturnValue = (int)FUNC_NotifyEvent(event_type, EventSpecificData);
  /external/lldb/source/Core/
Broadcaster.cpp 164 Broadcaster::EventTypeHasListeners (uint32_t event_type)
168 if (m_hijacking_listeners.size() > 0 && event_type & m_hijacking_masks.back())
177 if (pos->second & event_type)
226 const uint32_t event_type = event_sp->GetType(); local
235 if ((event_type & m_hijacking_masks.back()) == 0)
254 if (unique && hijacking_listener->PeekAtNextEventForBroadcasterWithType (this, event_type))
268 if (event_type & pos->second)
270 if (unique && pos->first->PeekAtNextEventForBroadcasterWithType (this, event_type))
279 Broadcaster::BroadcastEvent (uint32_t event_type, EventData *event_data)
281 EventSP event_sp (new Event (event_type, event_data))
    [all...]
Event.cpp 30 Event::Event (Broadcaster *broadcaster, uint32_t event_type, EventData *data) :
32 m_type (event_type),
37 Event::Event(uint32_t event_type, EventData *data) :
39 m_type (event_type),
  /external/lldb/include/lldb/Core/
Event.h 130 Event (Broadcaster *broadcaster, uint32_t event_type, EventData *data = NULL);
132 Event (uint32_t event_type, EventData *data = NULL);

Completed in 276 milliseconds

1 2 3 4 5