Home
last modified time | relevance | path

Searched refs:ips (Results 1 – 21 of 21) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
A Duretprobe_stack.c78 static void validate_stack(__u64 *ips, int stack_len, int cnt, ...) in validate_stack() argument
98 if (ips[i] >= targets[j].start && ips[i] < targets[j].stop) in validate_stack()
102 printf("ENTRY #%d: %#lx (in target_%d)\n", i, (long)ips[i], j); in validate_stack()
103 } else if (ips[i] >= caller.start && ips[i] < caller.stop) { in validate_stack()
104 printf("ENTRY #%d: %#lx (in caller)\n", i, (long)ips[i]); in validate_stack()
106 printf("ENTRY #%d: %#lx\n", i, (long)ips[i]); in validate_stack()
117 ASSERT_GE(ips[i], t->start, "addr_start"); in validate_stack()
118 ASSERT_LT(ips[i], t->stop, "addr_stop"); in validate_stack()
/tools/testing/selftests/net/tcp_ao/
A Dbench-lookups.c26 ips[i] = gen_tcp_addr(net, 2 * i + 1); in gen_test_ips()
32 ips[i] = gen_tcp_addr(net, r); in gen_test_ips()
35 if (!memcmp(&ips[i], &ips[j], sizeof(union tcp_addr))) { in gen_test_ips()
48 union tcp_addr *p = (union tcp_addr *)&ips[i]; in test_add_routes()
62 union tcp_addr *p = (union tcp_addr *)&ips[i]; in server_apply_keys()
146 union tcp_addr *ips, size_t ips_nr, in bench_delete() argument
159 p = (union tcp_addr *)&ips[0]; in bench_delete()
175 p = (union tcp_addr *)&ips[rand() % ips_nr]; in bench_delete()
177 p = (union tcp_addr *)&ips[i % ips_nr]; in bench_delete()
304 p = (union tcp_addr *)&ips[0]; in bench_connect_client()
[all …]
/tools/testing/selftests/wireguard/
A Dnetns.sh105 allowed-ips 192.168.241.2/32,fd00::2/128
111 allowed-ips 192.168.241.1/32,fd00::1/128
225 n1 wg set wg0 peer "$pub2" allowed-ips 192.168.241.0/24
555 for ip in $(n0 wg show wg0 allowed-ips); do
577 done < <(n0 wg show wg0 allowed-ips)
600 n0 wg set wg0 peer "$pub2" allowed-ips "$allowedips"
611 } < <(n0 wg show wg0 allowed-ips)
624 n0 wg set wg0 peer "$pub1" allowed-ips "$allowedips"
640 } < <(n0 wg show wg0 allowed-ips)
664 n0 wg set wg0 peer "$pub2" allowed-ips 0.0.0.0/0
[all …]
/tools/perf/util/
A Darm64-frame-pointer-unwind-support.c55 regs->cache_regs[PERF_REG_ARM64_PC] = sample->callchain->ips[usr_idx+1]; in get_leaf_frame_caller_aarch64()
A Dunwind-libunwind-local.c739 unw_word_t ips[max_stack]; in get_entries() local
749 ips[i++] = (unw_word_t) val; in get_entries()
767 unw_get_reg(&c, UNW_REG_IP, &ips[i]); in get_entries()
777 --ips[i]; in get_entries()
793 ret = ips[j] ? entry(ips[j], ui->thread, cb, arg) : 0; in get_entries()
A Dthread-stack.c535 chain->ips[0] = context; in thread_stack__sample()
536 chain->ips[1] = ip; in thread_stack__sample()
551 chain->ips[i++] = context; in thread_stack__sample()
554 chain->ips[i] = ip; in thread_stack__sample()
602 chain->ips[nr++] = context; in thread_stack__sample_late()
605 chain->ips[nr] = ip; in thread_stack__sample_late()
611 chain->ips[0] = sample_context; in thread_stack__sample_late()
612 chain->ips[1] = sample_ip; in thread_stack__sample_late()
A Dmachine.c2284 root_al, &cpumode, chain->ips[i], in lbr_callchain_add_kernel_ip()
2295 root_al, &cpumode, chain->ips[i], in lbr_callchain_add_kernel_ip()
2607 if (chain->ips[i] == PERF_CONTEXT_USER) in resolve_lbr_callchain_sample()
2686 u64 ip = chain->ips[ent]; in find_prev_cpumode()
2783 chain->ips[first_call] >= PERF_CONTEXT_MAX) in thread__resolve_callchain_sample()
2785 else if (be[i].from < chain->ips[first_call] && in thread__resolve_callchain_sample()
2786 be[i].from >= chain->ips[first_call] - 8) in thread__resolve_callchain_sample()
2840 ip = chain->ips[j]; in thread__resolve_callchain_sample()
2860 if (usr_idx >= 0 && chain->ips[usr_idx] == PERF_CONTEXT_USER) { in thread__resolve_callchain_sample()
A Devent.h48 u64 ips[]; member
A Ddata-convert-json.c194 u64 ip = sample->callchain->ips[i]; in process_sample_event()
A Ddlfilter.c557 d_sample.raw_callchain = (__u64 *)sample->callchain->ips; in dlfilter__do_filter_event()
A Dsession.c804 if (callchain->ips[i] == PERF_CONTEXT_USER) in callchain__lbr_callstack_printf()
833 i, callchain->ips[i]); in callchain__lbr_callstack_printf()
856 i, callchain->ips[i]); in callchain__printf()
A Ddata-convert-bt.c572 ((u64 *)(callchain->ips))[i]); in add_callchain_output_values()
A Devsel.c2971 data->ip = data->callchain->ips[1]; in __set_offcpu_sample()
/tools/perf/arch/powerpc/util/
A Dskip-callchain-idx.c254 ip = chain->ips[1]; in arch_skip_callchain_idx()
/tools/testing/selftests/net/forwarding/
A Dmirror_gre_lag_lacp.sh66 local ips=("${@}")
A Dmirror_gre_bridge_1q_lag.sh65 local ips=("${@}")
A Dlib.sh770 __addr_add_del $name add "${ips[@]}"
/tools/perf/tests/
A Dsample-parsing.c104 COMP(callchain->ips[i]); in samples_same()
/tools/perf/
A Dbuiltin-timechart.c524 ip = chain->ips[i]; in cat_backtrace()
526 ip = chain->ips[chain->nr - i - 1]; in cat_backtrace()
A Ddesign.txt398 * u64 ips[nr]; } && PERF_RECORD_CALLCHAIN
A Dbuiltin-lock.c956 u64 ip = sample->callchain->ips[i]; in get_callstack()

Completed in 828 milliseconds