Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 25 of 28) 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/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/testing/fault-injection/
Dfailcmd.sh43 --stacktrace-depth=value, --require-start=value, --require-end=value,
88 LONGOPTS=$LONGOPTS,stacktrace-depth:,require-start:,require-end:
158 --stacktrace-depth)
159 echo $2 > $FAULTATTR/stacktrace-depth
/tools/bootconfig/
Dmain.c39 int depth = 0, i; in xbc_show_compact_tree() local
43 for (i = 0; i < depth; i++) in xbc_show_compact_tree()
68 depth++; in xbc_show_compact_tree()
98 if (depth) { in xbc_show_compact_tree()
99 depth--; in xbc_show_compact_tree()
100 for (i = 0; i < depth; i++) in xbc_show_compact_tree()
/tools/testing/selftests/exec/
D.gitignore11 /recursion-depth
DMakefile12 TEST_GEN_PROGS += recursion-depth
/tools/perf/util/
Dutil.c148 static int rm_rf_depth_pat(const char *path, int depth, const char **pat) in rm_rf_depth_pat() argument
191 ret = depth ? rm_rf_depth_pat(namebuf, depth - 1, pat) : 0; in rm_rf_depth_pat()
Dsort.h110 u8 depth; member
Dprobe-event.c2058 struct strbuf *buf, int depth) in __synthesize_probe_trace_arg_ref() argument
2062 depth = __synthesize_probe_trace_arg_ref(ref->next, buf, in __synthesize_probe_trace_arg_ref()
2063 depth + 1); in __synthesize_probe_trace_arg_ref()
2064 if (depth < 0) in __synthesize_probe_trace_arg_ref()
2065 return depth; in __synthesize_probe_trace_arg_ref()
2071 return (err < 0) ? err : depth; in __synthesize_probe_trace_arg_ref()
2078 int depth = 0, err; in synthesize_probe_trace_arg() local
2094 depth = __synthesize_probe_trace_arg_ref(ref, buf, 1); in synthesize_probe_trace_arg()
2095 if (depth < 0) in synthesize_probe_trace_arg()
2096 return depth; in synthesize_probe_trace_arg()
[all …]
Dhist.c328 if (!he->depth) { in hists__decay_entry()
1520 int depth = 0; in hists__hierarchy_insert_entry() local
1536 new_he->depth = depth++; in hists__hierarchy_insert_entry()
Dmachine.c1366 static int maps__set_modules_path_dir(struct maps *maps, const char *dir_name, int depth) in maps__set_modules_path_dir() argument
1392 if (depth == 0) { in maps__set_modules_path_dir()
1398 ret = maps__set_modules_path_dir(maps, path, depth + 1); in maps__set_modules_path_dir()
/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.py1255 self.depth = nodedepth
1359 def lastPhase(self, depth=1): argument
1361 if len(plist) < depth:
1363 return plist[-1*depth]
1858 def masterTopology(self, name, list, depth): argument
1859 node = DeviceNode(name, depth)
1865 cnode = self.masterTopology(cname, clist, depth+1)
2102 self.depth = 0
2145 self.depth = self.getDepth(match.group('d'))
2183 self.depth, self.name, self.length*1000000, info))
[all …]
/tools/perf/Documentation/
Dperf-ftrace.txt115 depth=<n> - Set max depth for function graph tracer to follow.
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-script.txt197 name of the symbol indented with spaces to reflect the stack depth.
353 Set the stack depth limit when parsing the callchain, anything
354 beyond the specified depth will be ignored. This is a trade-off
Dperf-top.txt195 Set the stack depth limit when parsing the callchain, anything
196 beyond the specified depth will be ignored. This is a trade-off
Dperf-report.txt270 Set the stack depth limit when parsing the callchain, anything
271 beyond the specified depth will be ignored. This is a trade-off
/tools/lib/traceevent/Documentation/
Dlibtraceevent-event_print.txt61 (lock depth, or migration disabled, which are unique to
/tools/perf/
Dbuiltin-script.c1341 size_t depth = thread_stack__depth(thread, sample->cpu); in perf_sample__fprintf_callindent() local
1353 depth += 1; in perf_sample__fprintf_callindent()
1364 len = fprintf(fp, "%*s%s", (int)depth * 4, "", name); in perf_sample__fprintf_callindent()
1366 len = fprintf(fp, "%*s%16" PRIx64, (int)depth * 4, "", ip); in perf_sample__fprintf_callindent()
1876 int depth = thread_stack__depth(thread, sample->cpu); in show_event() local
1882 if (depth <= thread->filter_entry_depth) { in show_event()
1901 thread->filter_entry_depth = depth; in show_event()
/tools/include/uapi/linux/
Dpkt_sched.h231 unsigned int depth; /* max number of packets per flow */ member
/tools/perf/ui/browsers/
Dhists.c621 if (!he->depth || unfold) in __hist_browser__set_folding()
1846 h->depth); in hist_browser__refresh()
1851 hist_browser__show_no_entry(hb, row, h->depth + 1); in hist_browser__refresh()
2143 he->depth + 1); in hist_browser__fprintf_hierarchy_entry()
2161 h->depth); in hist_browser__fprintf()
/tools/lib/bpf/
Dbtf.c643 int depth = 0; in btf__resolve_type() local
646 while (depth < MAX_RESOLVE_DEPTH && in btf__resolve_type()
651 depth++; in btf__resolve_type()
654 if (depth == MAX_RESOLVE_DEPTH || btf_type_is_void_or_null(t)) in btf__resolve_type()

12