Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 25 of 37) sorted by relevance

12

/tools/testing/selftests/x86/
Dunwind_vdso.c65 int depth; /* -1 until we hit the trap source */ member
73 if (state->depth == -1) { in trace_fn()
75 state->depth = 0; in trace_fn()
102 state->depth++; in trace_fn()
135 state.depth = -1; in sigtrap()
/tools/testing/selftests/bpf/
Djson_writer.c23 unsigned depth; /* nesting */ member
32 for (i = 0; i < self->depth; ++i) in jsonw_indent()
95 self->depth = 0; in jsonw_new()
107 assert(self->depth == 0); in jsonw_destroy()
121 assert(self->depth == 0); in jsonw_reset()
130 ++self->depth; in jsonw_begin()
136 assert(self->depth > 0); in jsonw_end()
138 --self->depth; in jsonw_end()
/tools/bpf/bpftool/
Djson_writer.c23 unsigned depth; /* nesting */ member
32 for (i = 0; i < self->depth; ++i) in jsonw_indent()
95 self->depth = 0; in jsonw_new()
107 assert(self->depth == 0); in jsonw_destroy()
121 assert(self->depth == 0); in jsonw_reset()
130 ++self->depth; in jsonw_begin()
136 assert(self->depth > 0); in jsonw_end()
138 --self->depth; in jsonw_end()
/tools/perf/ui/stdio/
Dhist.c33 static size_t ipchain__fprintf_graph_line(FILE *fp, int depth, int depth_mask, in ipchain__fprintf_graph_line() argument
39 for (i = 0; i < depth; i++) in ipchain__fprintf_graph_line()
52 int depth, int depth_mask, int period, in ipchain__fprintf_graph() argument
62 for (i = 0; i < depth; i++) { in ipchain__fprintf_graph()
67 if (!period && i == depth - 1) { in ipchain__fprintf_graph()
110 u64 total_samples, int depth, in __callchain__fprintf_graph() argument
144 new_depth_mask &= ~(1 << (depth - 1)); in __callchain__fprintf_graph()
150 ret += ipchain__fprintf_graph_line(fp, depth, depth_mask, in __callchain__fprintf_graph()
154 ret += ipchain__fprintf_graph(fp, child, chain, depth, in __callchain__fprintf_graph()
166 depth + 1, in __callchain__fprintf_graph()
[all …]
/tools/perf/util/
Ddata-convert-json.c73 static void output_json_delimiters(FILE *out, bool comma, int depth) in output_json_delimiters() argument
80 for (i = 0; i < depth; ++i) in output_json_delimiters()
86 static void output_json_format(FILE *out, bool comma, int depth, const char *format, ...) in output_json_format() argument
90 output_json_delimiters(out, comma, depth); in output_json_format()
97 static void output_json_key_string(FILE *out, bool comma, int depth, in output_json_key_string() argument
100 output_json_delimiters(out, comma, depth); in output_json_key_string()
108 static void output_json_key_format(FILE *out, bool comma, int depth, in output_json_key_format() argument
113 output_json_delimiters(out, comma, depth); in output_json_key_format()
Dutil.c151 static int rm_rf_depth_pat(const char *path, int depth, const char **pat) in rm_rf_depth_pat() argument
194 ret = depth ? rm_rf_depth_pat(namebuf, depth - 1, pat) : 0; in rm_rf_depth_pat()
Dthread.h300 static inline void thread__set_filter_entry_depth(struct thread *thread, int depth) in thread__set_filter_entry_depth() argument
302 RC_CHK_ACCESS(thread)->filter_entry_depth = depth; in thread__set_filter_entry_depth()
Dprobe-event.c2103 struct strbuf *buf, int depth) in __synthesize_probe_trace_arg_ref() argument
2107 depth = __synthesize_probe_trace_arg_ref(ref->next, buf, in __synthesize_probe_trace_arg_ref()
2108 depth + 1); in __synthesize_probe_trace_arg_ref()
2109 if (depth < 0) in __synthesize_probe_trace_arg_ref()
2110 return depth; in __synthesize_probe_trace_arg_ref()
2116 return (err < 0) ? err : depth; in __synthesize_probe_trace_arg_ref()
2123 int depth = 0, err; in synthesize_probe_trace_arg() local
2139 depth = __synthesize_probe_trace_arg_ref(ref, buf, 1); in synthesize_probe_trace_arg()
2140 if (depth < 0) in synthesize_probe_trace_arg()
2141 return depth; in synthesize_probe_trace_arg()
[all …]
/tools/testing/fault-injection/
Dfailcmd.sh43 --stacktrace-depth=value, --require-start=value, --require-end=value,
96 LONGOPTS=$LONGOPTS,stacktrace-depth:,require-start:,require-end:
166 --stacktrace-depth)
167 echo $2 > $FAULTATTR/stacktrace-depth
/tools/testing/selftests/bpf/prog_tests/
Duretprobe_stack.c46 __weak int target_1(int depth) in target_1() argument
48 if (depth < 1) in target_1()
49 return 1 + target_1(depth + 1); in target_1()
/tools/bootconfig/
Dmain.c40 int depth = 0, i; in xbc_show_compact_tree() local
44 for (i = 0; i < depth; i++) in xbc_show_compact_tree()
69 depth++; in xbc_show_compact_tree()
99 if (depth) { in xbc_show_compact_tree()
100 depth--; in xbc_show_compact_tree()
101 for (i = 0; i < depth; i++) in xbc_show_compact_tree()
/tools/testing/selftests/exec/
D.gitignore14 /recursion-depth
DMakefile16 TEST_GEN_PROGS += recursion-depth
/tools/testing/selftests/net/forwarding/
Dtc_flower.sh556 flower $tcflags mpls lse depth 1 label 0 action continue
558 flower $tcflags mpls lse depth 1 tc 0 action continue
560 flower $tcflags mpls lse depth 1 bos 0 action continue
562 flower $tcflags mpls lse depth 1 ttl 0 action continue
566 flower $tcflags mpls lse depth 2 label 1048575 action continue
568 flower $tcflags mpls lse depth 2 tc 7 action continue
570 flower $tcflags mpls lse depth 2 bos 1 action continue
572 flower $tcflags mpls lse depth 2 ttl 255 action continue
576 flower $tcflags mpls lse depth 1 action continue
578 flower $tcflags mpls lse depth 2 action continue
[all …]
/tools/perf/tests/shell/
Dftrace.sh42 perf ftrace trace --graph-opts depth=5 sleep 0.1 > "${output}"
/tools/power/pm-graph/config/
Dsuspend-callgraph.cfg80 # Max graph depth
81 # limit the callgraph trace to this depth (default: 0 = all)
Dexample.cfg125 # Max graph depth
126 # limit the callgraph trace to this depth (default: 0 = all)
/tools/power/pm-graph/
Dsleepgraph.py1434 self.depth = nodedepth
1539 def lastPhase(self, depth=1): argument
1541 if len(plist) < depth:
1543 return plist[-1*depth]
2054 def masterTopology(self, name, list, depth): argument
2055 node = DeviceNode(name, depth)
2061 cnode = self.masterTopology(cname, clist, depth+1)
2290 self.depth = 0
2333 self.depth = self.getDepth(match.group('d'))
2371 self.depth, self.name, self.length*1000000, info))
[all …]
/tools/lib/bpf/
Dbtf_dump.c73 int depth; member
1713 return d->typed_dump->compact || d->typed_dump->depth == 0 ? "" : "\n"; in btf_dump_data_newline()
1718 return d->typed_dump->depth == 0 ? "" : ","; in btf_dump_data_delim()
1723 int i, lvl = d->typed_dump->indent_lvl + d->typed_dump->depth; in btf_dump_data_pfx()
2068 d->typed_dump->depth++; in btf_dump_array_data()
2085 d->typed_dump->depth--; in btf_dump_array_data()
2108 d->typed_dump->depth++; in btf_dump_struct_data()
2127 d->typed_dump->depth--; in btf_dump_struct_data()
2339 if (d->typed_dump->emit_zeroes || d->typed_dump->depth == 0 || in btf_dump_type_data_check_zero()
Drelo_core.c150 int depth = 32; /* max recursion depth */ in __bpf_core_types_are_compat() local
159 depth--; in __bpf_core_types_are_compat()
160 if (depth < 0) in __bpf_core_types_are_compat()
1548 int depth = 32; /* max recursion depth */ in __bpf_core_types_match() local
1555 depth--; in __bpf_core_types_match()
1556 if (depth < 0) in __bpf_core_types_match()
/tools/perf/Documentation/
Dperf-lock.txt167 Maximum stack depth when collecting lock contention (default: 8).
170 Number of stack depth to skip when finding a lock caller (default: 3).
Dperf-trace.txt198 Set the stack depth limit when parsing the callchain, anything
199 beyond the specified depth will be ignored. Note that at this point
211 Set the stack depth limit when parsing the callchain, anything
212 below the specified depth will be ignored. Disabled by default.
Dperf-ftrace.txt130 - depth=<n> - Set max depth for function graph tracer to follow.
/tools/testing/cxl/test/
Dcxl.c928 if (port->depth == 1) { in mock_cxl_port_enumerate_dports()
940 } else if (port->depth == 2) { in mock_cxl_port_enumerate_dports()
956 port->depth); in mock_cxl_port_enumerate_dports()
/tools/arch/x86/kcpuid/
Dcpuid.csv539 …0x1c, 0, eax, 0, lbr_depth_8 , Max stack depth (number of LBR entries…
540 …0x1c, 0, eax, 1, lbr_depth_16 , Max stack depth (number of LBR entries…
541 …0x1c, 0, eax, 2, lbr_depth_24 , Max stack depth (number of LBR entries…
542 …0x1c, 0, eax, 3, lbr_depth_32 , Max stack depth (number of LBR entries…
543 …0x1c, 0, eax, 4, lbr_depth_40 , Max stack depth (number of LBR entries…
544 …0x1c, 0, eax, 5, lbr_depth_48 , Max stack depth (number of LBR entries…
545 …0x1c, 0, eax, 6, lbr_depth_56 , Max stack depth (number of LBR entries…
546 …0x1c, 0, eax, 7, lbr_depth_64 , Max stack depth (number of LBR entries…

12