Home
last modified time | relevance | path

Searched refs:namespaces (Results 1 – 25 of 28) sorted by relevance

12

/tools/perf/util/
Dnamespaces.c22 struct namespaces *namespaces__new(struct namespaces_event *event) in namespaces__new()
24 struct namespaces *namespaces; in namespaces__new() local
28 namespaces = zalloc(sizeof(struct namespaces) + link_info_size); in namespaces__new()
29 if (!namespaces) in namespaces__new()
32 namespaces->end_time = -1; in namespaces__new()
35 memcpy(namespaces->link_info, event->link_info, link_info_size); in namespaces__new()
37 return namespaces; in namespaces__new()
40 void namespaces__free(struct namespaces *namespaces) in namespaces__free() argument
42 free(namespaces); in namespaces__free()
Dnamespaces.h18 struct namespaces { struct
24 struct namespaces *namespaces__new(struct namespaces_event *event); argument
25 void namespaces__free(struct namespaces *namespaces);
Dthread.c76 struct namespaces *namespaces, *tmp_namespaces; in thread__delete() local
87 list_for_each_entry_safe(namespaces, tmp_namespaces, in thread__delete()
89 list_del(&namespaces->list); in thread__delete()
90 namespaces__free(namespaces); in thread__delete()
121 struct namespaces *thread__namespaces(const struct thread *thread) in thread__namespaces()
126 return list_first_entry(&thread->namespaces_list, struct namespaces, list); in thread__namespaces()
132 struct namespaces *new, *curr = thread__namespaces(thread); in thread__set_namespaces()
Dthread.h46 struct namespaces;
69 struct namespaces *thread__namespaces(const struct thread *thread);
Devent.c260 memset(&event->namespaces, 0, (sizeof(event->namespaces) + in perf_event__synthesize_namespaces()
264 event->namespaces.pid = tgid; in perf_event__synthesize_namespaces()
265 event->namespaces.tid = pid; in perf_event__synthesize_namespaces()
267 event->namespaces.nr_namespaces = NR_NAMESPACES; in perf_event__synthesize_namespaces()
269 ns_link_info = event->namespaces.link_info; in perf_event__synthesize_namespaces()
271 for (idx = 0; idx < event->namespaces.nr_namespaces; idx++) in perf_event__synthesize_namespaces()
275 event->namespaces.header.type = PERF_RECORD_NAMESPACES; in perf_event__synthesize_namespaces()
277 event->namespaces.header.size = (sizeof(event->namespaces) + in perf_event__synthesize_namespaces()
626 namespaces_event = malloc(sizeof(namespaces_event->namespaces) + in perf_event__synthesize_thread_map()
709 namespaces_event = malloc(sizeof(namespaces_event->namespaces) + in perf_event__synthesize_threads()
[all …]
Dpython-ext-sources13 util/namespaces.c
Dtool.h50 namespaces, member
Dmachine.c523 event->namespaces.pid, in machine__process_namespaces_event()
524 event->namespaces.tid); in machine__process_namespaces_event()
527 WARN_ONCE(event->namespaces.nr_namespaces > NR_NAMESPACES, in machine__process_namespaces_event()
531 WARN_ONCE(event->namespaces.nr_namespaces < NR_NAMESPACES, in machine__process_namespaces_event()
539 thread__set_namespaces(thread, sample->time, &event->namespaces)) { in machine__process_namespaces_event()
DBuild47 libperf-y += namespaces.o
Devent.h627 struct namespaces_event namespaces; member
Dsession.c378 if (tool->namespaces == NULL) in perf_tool__fill_defaults()
379 tool->namespaces = process_event_stub; in perf_tool__fill_defaults()
1293 return tool->namespaces(tool, event, sample, machine); in machines__deliver_event()
Ddata-convert-bt.c1596 .namespaces = perf_event__process_namespaces, in bt_convert__perf2ctf()
Dhist.c588 struct namespaces *ns = thread__namespaces(al->thread); in __hists__add_entry()
/tools/include/uapi/linux/
Dperf_event.h372 namespaces : 1, /* include namespaces data */ member
/tools/perf/
Dbuiltin-mem.c396 .namespaces = perf_event__process_namespaces, in cmd_mem()
Dbuiltin-annotate.c395 .namespaces = perf_event__process_namespaces, in cmd_annotate()
Dbuiltin-script.c1655 thread = machine__findnew_thread(machine, event->namespaces.pid, in process_namespaces_event()
1656 event->namespaces.tid); in process_namespaces_event()
1668 sample->tid = event->namespaces.tid; in process_namespaces_event()
1669 sample->pid = event->namespaces.pid; in process_namespaces_event()
1855 script->tool.namespaces = process_namespaces_event; in __cmd_script()
2675 .namespaces = perf_event__process_namespaces, in cmd_script()
Dbuiltin-kvm.c1069 .namespaces = perf_event__process_namespaces, in read_events()
1374 kvm->tool.namespaces = perf_event__process_namespaces; in kvm_events_live()
Dbuiltin-record.c1031 event = malloc(sizeof(event->namespaces) + in __cmd_record()
1543 .namespaces = perf_event__process_namespaces,
Dbuiltin-inject.c679 inject->tool.namespaces = perf_event__repipe_namespaces; in __cmd_inject()
Dbuiltin-lock.c865 .namespaces = perf_event__process_namespaces, in __cmd_report()
Dbuiltin-report.c758 .namespaces = perf_event__process_namespaces, in cmd_report()
Dbuiltin-diff.c370 .namespaces = perf_event__process_namespaces,
Dbuiltin-kmem.c972 .namespaces = perf_event__process_namespaces,
/tools/perf/Documentation/
Dperf-record.txt354 --namespaces::

12