/tools/perf/util/ |
D | namespaces.c | 22 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()
|
D | namespaces.h | 18 struct namespaces { struct 24 struct namespaces *namespaces__new(struct namespaces_event *event); argument 25 void namespaces__free(struct namespaces *namespaces);
|
D | thread.c | 76 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()
|
D | thread.h | 46 struct namespaces; 69 struct namespaces *thread__namespaces(const struct thread *thread);
|
D | event.c | 260 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 …]
|
D | python-ext-sources | 13 util/namespaces.c
|
D | tool.h | 50 namespaces, member
|
D | machine.c | 523 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()
|
D | Build | 47 libperf-y += namespaces.o
|
D | event.h | 627 struct namespaces_event namespaces; member
|
D | session.c | 378 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()
|
D | data-convert-bt.c | 1596 .namespaces = perf_event__process_namespaces, in bt_convert__perf2ctf()
|
D | hist.c | 588 struct namespaces *ns = thread__namespaces(al->thread); in __hists__add_entry()
|
/tools/include/uapi/linux/ |
D | perf_event.h | 372 namespaces : 1, /* include namespaces data */ member
|
/tools/perf/ |
D | builtin-mem.c | 396 .namespaces = perf_event__process_namespaces, in cmd_mem()
|
D | builtin-annotate.c | 395 .namespaces = perf_event__process_namespaces, in cmd_annotate()
|
D | builtin-script.c | 1655 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()
|
D | builtin-kvm.c | 1069 .namespaces = perf_event__process_namespaces, in read_events() 1374 kvm->tool.namespaces = perf_event__process_namespaces; in kvm_events_live()
|
D | builtin-record.c | 1031 event = malloc(sizeof(event->namespaces) + in __cmd_record() 1543 .namespaces = perf_event__process_namespaces,
|
D | builtin-inject.c | 679 inject->tool.namespaces = perf_event__repipe_namespaces; in __cmd_inject()
|
D | builtin-lock.c | 865 .namespaces = perf_event__process_namespaces, in __cmd_report()
|
D | builtin-report.c | 758 .namespaces = perf_event__process_namespaces, in cmd_report()
|
D | builtin-diff.c | 370 .namespaces = perf_event__process_namespaces,
|
D | builtin-kmem.c | 972 .namespaces = perf_event__process_namespaces,
|
/tools/perf/Documentation/ |
D | perf-record.txt | 354 --namespaces::
|