/tools/perf/util/ |
D | namespaces.c | 40 struct namespaces *namespaces__new(struct perf_record_namespaces *event) in namespaces__new() 42 struct namespaces *namespaces; in namespaces__new() local 46 namespaces = zalloc(sizeof(struct namespaces) + link_info_size); in namespaces__new() 47 if (!namespaces) in namespaces__new() 50 namespaces->end_time = -1; in namespaces__new() 53 memcpy(namespaces->link_info, event->link_info, link_info_size); in namespaces__new() 55 return namespaces; in namespaces__new() 58 void namespaces__free(struct namespaces *namespaces) in namespaces__free() argument 60 free(namespaces); in namespaces__free()
|
D | namespaces.h | 24 struct namespaces { struct 30 struct namespaces *namespaces__new(struct perf_record_namespaces *event); argument 31 void namespaces__free(struct namespaces *namespaces);
|
D | thread.c | 90 struct namespaces *namespaces, *tmp_namespaces; in thread__delete() local 100 list_for_each_entry_safe(namespaces, tmp_namespaces, in thread__delete() 102 list_del_init(&namespaces->list); in thread__delete() 103 namespaces__free(namespaces); in thread__delete() 145 static struct namespaces *__thread__namespaces(struct thread *thread) in __thread__namespaces() 150 return list_first_entry(thread__namespaces_list(thread), struct namespaces, list); in __thread__namespaces() 153 struct namespaces *thread__namespaces(struct thread *thread) in thread__namespaces() 155 struct namespaces *ns; in thread__namespaces() 167 struct namespaces *new, *curr = __thread__namespaces(thread); in __thread__set_namespaces()
|
D | tool.h | 49 namespaces, member
|
D | python-ext-sources | 18 util/namespaces.c
|
D | thread.h | 76 struct namespaces; 96 struct namespaces *thread__namespaces(struct thread *thread);
|
D | synthetic-events.c | 233 memset(&event->namespaces, 0, (sizeof(event->namespaces) + in perf_event__synthesize_namespaces() 237 event->namespaces.pid = tgid; in perf_event__synthesize_namespaces() 238 event->namespaces.tid = pid; in perf_event__synthesize_namespaces() 240 event->namespaces.nr_namespaces = NR_NAMESPACES; in perf_event__synthesize_namespaces() 242 ns_link_info = event->namespaces.link_info; in perf_event__synthesize_namespaces() 244 for (idx = 0; idx < event->namespaces.nr_namespaces; idx++) in perf_event__synthesize_namespaces() 248 event->namespaces.header.type = PERF_RECORD_NAMESPACES; in perf_event__synthesize_namespaces() 250 event->namespaces.header.size = (sizeof(event->namespaces) + in perf_event__synthesize_namespaces() 861 namespaces_event = malloc(sizeof(namespaces_event->namespaces) + in perf_event__synthesize_thread_map() 944 namespaces_event = malloc(sizeof(namespaces_event->namespaces) + in __perf_event__synthesize_threads()
|
D | event.c | 192 ns_link_info = event->namespaces.link_info; in perf_event__fprintf_namespaces() 193 nr_namespaces = event->namespaces.nr_namespaces; in perf_event__fprintf_namespaces() 196 event->namespaces.pid, in perf_event__fprintf_namespaces() 197 event->namespaces.tid, in perf_event__fprintf_namespaces()
|
D | session.c | 493 if (tool->namespaces == NULL) in perf_tool__fill_defaults() 494 tool->namespaces = process_event_stub; in perf_tool__fill_defaults() 728 event->namespaces.pid = bswap_32(event->namespaces.pid); in perf_event__namespaces_swap() 729 event->namespaces.tid = bswap_32(event->namespaces.tid); in perf_event__namespaces_swap() 730 event->namespaces.nr_namespaces = bswap_64(event->namespaces.nr_namespaces); in perf_event__namespaces_swap() 732 for (i = 0; i < event->namespaces.nr_namespaces; i++) { in perf_event__namespaces_swap() 733 struct perf_ns_link_info *ns = &event->namespaces.link_info[i]; in perf_event__namespaces_swap() 740 swap_sample_id_all(event, &event->namespaces.link_info[i]); in perf_event__namespaces_swap() 1572 return tool->namespaces(tool, event, sample, machine); in machines__deliver_event()
|
D | data-convert-json.c | 324 .namespaces = perf_event__process_namespaces, in bt_convert__perf2json()
|
D | perf_event_attr_fprintf.c | 313 PRINT_ATTRf(namespaces, p_unsigned); in perf_event_attr__fprintf()
|
D | machine.c | 778 event->namespaces.pid, in machine__process_namespaces_event() 779 event->namespaces.tid); in machine__process_namespaces_event() 782 WARN_ONCE(event->namespaces.nr_namespaces > NR_NAMESPACES, in machine__process_namespaces_event() 786 WARN_ONCE(event->namespaces.nr_namespaces < NR_NAMESPACES, in machine__process_namespaces_event() 794 thread__set_namespaces(thread, sample->time, &event->namespaces)) { in machine__process_namespaces_event()
|
D | Build | 70 perf-y += namespaces.o
|
/tools/testing/selftests/net/forwarding/ |
D | README | 4 One of the nice things about network namespaces is that they allow one 7 Unfortunately, these namespaces can not be used with actual switching 8 ASICs, as their ports can not be migrated to other network namespaces 10 L1-separation provided by namespaces. 26 The VRFs act as lightweight namespaces representing hosts connected to
|
/tools/testing/selftests/net/ |
D | pmtu.sh | 1020 setup namespaces routing || return $ksft_skip 1114 setup namespaces policy_routing || return $ksft_skip 1159 setup namespaces policy_routing || return $ksft_skip 1207 setup namespaces routing ${type}4 || return $ksft_skip 1211 setup namespaces routing ${type}6 || return $ksft_skip 1282 setup namespaces routing bridge bridged_${type}4 || return $ksft_skip 1286 setup namespaces routing bridge bridged_${type}6 || return $ksft_skip 1401 setup namespaces routing ovs_bridge ovs_${type}4 || return $ksft_skip 1405 setup namespaces routing ovs_bridge ovs_${type}6 || return $ksft_skip 1487 setup namespaces routing ${encap}${outer_family}${inner_family} || return $ksft_skip [all …]
|
/tools/testing/selftests/drivers/net/bonding/ |
D | lag_lib.sh | 91 local namespaces="lag_node1 lag_node2" 94 for n in ${namespaces}; do 107 NAMESPACES="${namespaces}"
|
/tools/testing/selftests/drivers/net/team/ |
D | lag_lib.sh | 91 local namespaces="lag_node1 lag_node2" 94 for n in ${namespaces}; do 107 NAMESPACES="${namespaces}"
|
/tools/perf/tests/attr/ |
D | system-wide-dummy | 44 namespaces=0
|
/tools/perf/tests/ |
D | attr.c | 133 WRITE_ASS(namespaces, "d"); in store_event()
|
/tools/lib/perf/include/perf/ |
D | event.h | 483 struct perf_record_namespaces namespaces; member
|
/tools/testing/selftests/bpf/prog_tests/ |
D | tc_redirect.c | 69 static const char * const namespaces[] = {NS_SRC, NS_FWD, NS_DST, NULL}; variable 89 const char * const *ns = namespaces; in netns_setup_namespaces() 103 const char * const *ns = namespaces; in netns_setup_namespaces_nofail()
|
/tools/perf/ |
D | builtin-mem.c | 461 .namespaces = perf_event__process_namespaces, in cmd_mem()
|
D | builtin-annotate.c | 511 .namespaces = perf_event__process_namespaces, in cmd_annotate()
|
D | builtin-kvm.c | 1609 .namespaces = perf_event__process_namespaces, in read_events() 1927 kvm->tool.namespaces = perf_event__process_namespaces; in kvm_events_live()
|
/tools/include/uapi/linux/ |
D | perf_event.h | 449 namespaces : 1, /* include namespaces data */ member
|