Home
last modified time | relevance | path

Searched refs:new_events (Results 1 – 4 of 4) sorted by relevance

/external/perfetto/tools/ftrace_proto_gen/
Dmain.cc52 std::set<std::string> new_events; in main() local
59 new_events.insert(file_name); in main()
63 if (!new_events.empty()) { in main()
64 perfetto::PrintFtraceEventProtoAdditions(new_events); in main()
65 perfetto::PrintEventFormatterMain(new_events); in main()
66 perfetto::PrintEventFormatterUsingStatements(new_events); in main()
67 perfetto::PrintEventFormatterFunctions(new_events); in main()
111 if (!new_events.empty()) in main()
/external/perf_data_converter/src/quipper/
Dhuge_page_deducer.cc269 RepeatedPtrField<PerfEvent> new_events; in CombineMappings() local
270 new_events.Reserve(events->size()); in CombineMappings()
278 new_events.Add()->Swap(event); in CombineMappings()
284 while (prev < new_events.size() && !new_events.Get(prev).has_mmap_event()) { in CombineMappings()
288 if (prev >= new_events.size()) { in CombineMappings()
289 new_events.Add()->Swap(event); in CombineMappings()
293 MMapEvent* prev_mmap = new_events.Mutable(prev)->mutable_mmap_event(); in CombineMappings()
304 new_events.Add()->Swap(event); in CombineMappings()
313 events->Swap(&new_events); in CombineMappings()
Dperf_parser.cc405 RepeatedPtrField<PerfEvent> new_events; in UpdatePerfEventsFromParsedEvents() local
406 new_events.Reserve(parsed_events_.size()); in UpdatePerfEventsFromParsedEvents()
408 PerfEvent* new_event = new_events.Add(); in UpdatePerfEventsFromParsedEvents()
413 reader_->mutable_events()->Swap(&new_events); in UpdatePerfEventsFromParsedEvents()
/external/libevent/
Depoll.c507 struct epoll_event *new_events; in epoll_dispatch() local
509 new_events = mm_realloc(epollop->events, in epoll_dispatch()
511 if (new_events) { in epoll_dispatch()
512 epollop->events = new_events; in epoll_dispatch()