Home
last modified time | relevance | path

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

12

/tools/testing/selftests/x86/
A Dunwind_vdso.c53 int depth; /* -1 until we hit the trap source */ member
61 if (state->depth == -1) { in trace_fn()
63 state->depth = 0; in trace_fn()
90 state->depth++; in trace_fn()
123 state.depth = -1; in sigtrap()
/tools/bpf/bpftool/
A 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/
A Dhist.c43 for (i = 0; i < depth; i++) in ipchain__fprintf_graph_line()
66 for (i = 0; i < depth; i++) { in ipchain__fprintf_graph()
71 if (!period && i == depth - 1) { in ipchain__fprintf_graph()
114 u64 total_samples, int depth, in __callchain__fprintf_graph() argument
170 depth + 1, in __callchain__fprintf_graph()
171 new_depth_mask | (1 << depth), in __callchain__fprintf_graph()
641 int depth; in hists__fprintf_hierarchy_headers() local
716 depth = 0; in hists__fprintf_hierarchy_headers()
719 width = depth * HIERARCHY_INDENT; in hists__fprintf_hierarchy_headers()
735 depth++; in hists__fprintf_hierarchy_headers()
[all …]
/tools/perf/tests/shell/
A Dftrace.sh42 perf ftrace trace --graph-opts depth=5 sleep 0.1 > "${output}"
70 perf ftrace profile --graph-opts depth=5 sleep 0.1 > "${output}"
/tools/perf/util/
A 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()
A Dutil.c157 static int rm_rf_depth_pat(const char *path, int depth, const char **pat) in rm_rf_depth_pat() argument
200 ret = depth ? rm_rf_depth_pat(namebuf, depth - 1, pat) : 0; in rm_rf_depth_pat()
A Ddemangle-rust-v0.c108 uint32_t depth; member
663 parser->depth++; in parser_push_depth()
664 if (parser->depth > MAX_DEPTH) { in parser_push_depth()
672 parser->depth--; in parser_pop_depth()
848 .depth = parser->depth in parser_backref()
1089 uint64_t depth = printer->bound_lifetime_depth - lt; in printer_print_lifetime_from_index() local
1090 if (depth < 26) { in printer_print_lifetime_from_index()
1091 PRINT_CH(printer, 'a' + depth); in printer_print_lifetime_from_index()
1094 PRINT_U64(printer, depth); in printer_print_lifetime_from_index()
A Dthread.h305 static inline void thread__set_filter_entry_depth(struct thread *thread, int depth) in thread__set_filter_entry_depth() argument
307 RC_CHK_ACCESS(thread)->filter_entry_depth = depth; in thread__set_filter_entry_depth()
/tools/testing/fault-injection/
A 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/
A 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/
A Dmain.c45 int depth = 0, i; in xbc_show_compact_tree() local
49 for (i = 0; i < depth; i++) in xbc_show_compact_tree()
74 depth++; in xbc_show_compact_tree()
104 if (depth) { in xbc_show_compact_tree()
105 depth--; in xbc_show_compact_tree()
106 for (i = 0; i < depth; i++) in xbc_show_compact_tree()
/tools/testing/selftests/exec/
A D.gitignore17 /recursion-depth
A DMakefile20 TEST_GEN_PROGS += recursion-depth
/tools/testing/selftests/net/forwarding/
A 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/testing/selftests/ublk/
A Dkublk.c31 static inline int ublk_setup_ring(struct io_uring *r, int depth, in ublk_setup_ring() argument
40 return io_uring_queue_init_params(depth, r, &p); in ublk_setup_ring()
392 static int __ublk_queue_cmd_buf_sz(unsigned depth) in __ublk_queue_cmd_buf_sz() argument
394 int size = depth * sizeof(struct ublksrv_io_desc); in __ublk_queue_cmd_buf_sz()
438 int depth = dev->dev_info.queue_depth; in ublk_queue_init() local
445 q->q_depth = depth; in ublk_queue_init()
1107 unsigned depth = ctx->queue_depth; in __cmd_dev_add() local
1125 __func__, nr_queues, depth); in __cmd_dev_add()
1172 info->queue_depth = depth; in __cmd_dev_add()
1180 dev->tgt.sq_depth = depth; in __cmd_dev_add()
[all …]
/tools/power/pm-graph/config/
A Dsuspend-callgraph.cfg80 # Max graph depth
81 # limit the callgraph trace to this depth (default: 0 = all)
A Dexample.cfg125 # Max graph depth
126 # limit the callgraph trace to this depth (default: 0 = all)
/tools/power/pm-graph/
A Dsleepgraph.py2313 self.depth = 0
2445 self.depth = 0
2460 if line.depth > self.depth:
2467 if line.depth == self.depth and line.isReturn():
2494 last.depth = self.depth
2501 vline.depth = self.depth
2527 vline.depth = self.depth
2555 self.depth -= 1
2557 if (last and last.isCall() and last.depth == line.depth) or \
2560 while len(self.list) > 0 and self.list[-1].depth > line.depth:
[all …]
/tools/perf/Documentation/
A Dperf-ftrace.txt134 - depth=<n> - Set max depth for function graph tracer to follow.
220 - depth=<n> - Set max depth for function graph tracer to follow.
A 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).
A Dperf-trace.txt203 Set the stack depth limit when parsing the callchain, anything
204 beyond the specified depth will be ignored. Note that at this point
216 Set the stack depth limit when parsing the callchain, anything
217 below the specified depth will be ignored. Disabled by default.
/tools/testing/selftests/arm64/gcs/
A Dlibc-gcs.c46 static noinline void gcs_recurse(int depth) in gcs_recurse() argument
48 if (depth) in gcs_recurse()
49 gcs_recurse(depth - 1); in gcs_recurse()
/tools/testing/selftests/gpio/
A Dgpio-aggregator.sh43 find "$CHIP_DIR" -depth -type d -exec rmdir {} \;
72 find "$CONFIGFS_AGG_DIR/$CHIP/" -depth -type d -exec rmdir {} \; || \
133 find "$CHIP_DIR" -depth -type d -exec rmdir {} \;
/tools/lib/bpf/
A 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()
1564 int depth = 32; /* max recursion depth */ in __bpf_core_types_match() local
1571 depth--; in __bpf_core_types_match()
1572 if (depth < 0) in __bpf_core_types_match()
A Dbtf_dump.c75 int depth; member
1718 return d->typed_dump->compact || d->typed_dump->depth == 0 ? "" : "\n"; in btf_dump_data_newline()
1723 return d->typed_dump->depth == 0 ? "" : ","; in btf_dump_data_delim()
1728 int i, lvl = d->typed_dump->indent_lvl + d->typed_dump->depth; in btf_dump_data_pfx()
2124 d->typed_dump->depth++; in btf_dump_array_data()
2141 d->typed_dump->depth--; in btf_dump_array_data()
2164 d->typed_dump->depth++; in btf_dump_struct_data()
2183 d->typed_dump->depth--; in btf_dump_struct_data()
2395 if (d->typed_dump->emit_zeroes || d->typed_dump->depth == 0 || in btf_dump_type_data_check_zero()

Completed in 699 milliseconds

12