Home
last modified time | relevance | path

Searched refs:lines (Results 1 – 25 of 52) sorted by relevance

123

/tools/net/ynl/pyynl/
A Dynl_gen_rst.py118 lines = []
128 lines = []
147 lines = []
156 lines = []
180 lines = []
213 lines = []
239 lines = []
265 lines = []
293 lines = []
313 lines = []
[all …]
/tools/testing/kunit/
A Dkunit_parser.py159 self._lines = lines
300 lines.pop()
324 lines.pop()
352 lines.pop()
377 line = lines.peek()
408 line = lines.peek()
415 lines.pop()
457 while lines and not any(re.match(lines.peek())
788 if not lines or (peek_test_name_match(lines, test) and
812 elif not lines:
[all …]
A Dkunit.py121 lines = kunit_parser.extract_tap_lines(output)
123 lines.pop()
140 lines = kunit_parser.extract_tap_lines(output)
142 lines.pop()
145 return lines
/tools/rcu/
A Dextract-stall.sh6 echo Filter out clocksource lines. Note that preceding-lines excludes the
7 echo initial line of the stall warning but trailing-lines includes it.
9 echo Usage: $(basename $0) dmesg-file [ preceding-lines [ trailing-lines ] ]
/tools/mm/
A Dslabinfo-gnuplot.sh56 local lines=2000000
64 lines=$((xmax-xmin))
69 wc_lines=$lines
72 if [ "$wc_lines" -lt "$lines" ]; then
73 lines=$wc_lines
76 if [ $((width / lines)) -gt $min_slab_name_size ]; then
144 local lines
150 let lines=3
152 `cat "$in" | grep -A "$lines" 'Slabs sorted by loss' |\
159 let lines=3
[all …]
A Dshow_page_info.py43 lines = [f"RAW: {' '.join(values[i:i + 4])}" for i in range(0, len(values), 4)]
45 return "\n".join(lines)
/tools/gpio/
A Dgpio-utils.c57 int gpiotools_request_line(const char *device_name, unsigned int *lines, in gpiotools_request_line() argument
82 req.offsets[i] = lines[i]; in gpiotools_request_line()
184 unsigned int lines[] = {line}; in gpiotools_get() local
186 ret = gpiotools_gets(device_name, lines, 1, &value); in gpiotools_get()
205 int gpiotools_gets(const char *device_name, unsigned int *lines, in gpiotools_gets() argument
216 ret = gpiotools_request_line(device_name, lines, num_lines, in gpiotools_gets()
245 unsigned int lines[] = {line}; in gpiotools_set() local
247 return gpiotools_sets(device_name, lines, 1, &value); in gpiotools_set()
263 int gpiotools_sets(const char *device_name, unsigned int *lines, in gpiotools_sets() argument
278 ret = gpiotools_request_line(device_name, lines, num_lines, in gpiotools_sets()
A Dgpio-hammer.c25 int hammer_device(const char *device_name, unsigned int *lines, int num_lines, in hammer_device() argument
39 ret = gpiotools_request_line(device_name, lines, num_lines, in hammer_device()
57 fprintf(stdout, "%u", lines[i]); in hammer_device()
92 fprintf(stdout, "%u: %d", lines[i], in hammer_device()
130 unsigned int lines[GPIOHANDLES_MAX]; in main() local
152 lines[i] = strtoul(optarg, NULL, 10); in main()
175 return hammer_device(device_name, lines, num_lines, loops); in main()
A Dgpio-event-mon.c29 unsigned int *lines, in monitor_device() argument
51 ret = gpiotools_request_line(device_name, lines, num_lines, config, in monitor_device()
72 fprintf(stdout, "Monitoring line %u on %s\n", lines[0], device_name); in monitor_device()
76 fprintf(stdout, "Monitoring lines %u", lines[0]); in monitor_device()
78 fprintf(stdout, ", %u", lines[i]); in monitor_device()
79 fprintf(stdout, " and %u on %s\n", lines[i], device_name); in monitor_device()
170 unsigned int lines[GPIO_V2_LINES_MAX]; in main() local
192 lines[num_lines] = strtoul(optarg, NULL, 10); in main()
240 return monitor_device(device_name, lines, num_lines, &config, loops); in main()
A Dgpio-utils.h28 unsigned int *lines,
37 int gpiotools_gets(const char *device_name, unsigned int *lines,
41 int gpiotools_sets(const char *device_name, unsigned int *lines,
A Dlsgpio.c128 cinfo.name, cinfo.label, cinfo.lines); in list_device()
131 for (i = 0; i < cinfo.lines; i++) { in list_device()
/tools/perf/util/
A Dsrccode.c29 char **lines; member
58 static void fill_lines(char **lines, int maxline, char *map, int maplen) in fill_lines() argument
67 lines[l++] = map; in fill_lines()
71 lines[l++] = ++p; in fill_lines()
74 lines[l] = p; in fill_lines()
83 zfree(&sf->lines); in free_srcfile()
136 h->lines = calloc(h->numlines, sizeof(char *)); in find_srcfile()
137 if (!h->lines) in find_srcfile()
139 fill_lines(h->lines, h->numlines, h->map, h->maplen); in find_srcfile()
165 l = sf->lines[line]; in find_sourceline()
A Ddwarf-aux.c67 Dwarf_Lines *lines; in cu_getsrc_die() local
80 line = dwarf_onesrcline(lines, n); in cu_getsrc_die()
90 line = dwarf_onesrcline(lines, --l); in cu_getsrc_die()
97 line = dwarf_onesrcline(lines, l++); in cu_getsrc_die()
912 Dwarf_Lines *lines; in die_walk_lines() local
948 line = dwarf_onesrcline(lines, i); in die_walk_lines()
1817 Dwarf_Lines *lines, in die_get_postprologue_addr() argument
1829 line = dwarf_onesrcline(lines, entrypc_idx); in die_get_postprologue_addr()
1834 line = dwarf_onesrcline(lines, i); in die_get_postprologue_addr()
1867 dwarf_lineaddr(dwarf_onesrcline(lines, i - 1), in die_get_postprologue_addr()
[all …]
/tools/perf/scripts/python/
A Dstackcollapse.py69 lines = defaultdict(lambda: 0) variable
122 lines[stack_string] = lines[stack_string] + 1
125 list = sorted(lines)
127 print("%s %d" % (stack, lines[stack]))
/tools/perf/tests/shell/
A Dtest_arm_spe_fork.sh34 echo Log lines = $log0
37 echo Log lines after 1 second = $log1
/tools/hv/
A Dlsvmbus49 lines = f.readlines()
52 lines = []
54 return lines
/tools/cgroup/
A Dmemcg_shrinker.py65 if args.lines and n >= args.lines:
/tools/bpf/bpftool/
A Dmain.c327 unsigned int lines = 0; in do_batch() local
374 lines); in do_batch()
384 p_err("command %u is too long", lines); in do_batch()
392 n_argc = make_args(buf, n_argv, BATCH_ARG_NB_MAX, lines); in do_batch()
418 lines++; in do_batch()
426 printf("processed %u commands\n", lines); in do_batch()
/tools/testing/selftests/resctrl/
A Dcache.c183 void show_cache_info(int no_of_bits, __u64 avg_llc_val, size_t cache_span, bool lines) in show_cache_info() argument
187 ksft_print_msg("Cache span (%s): %zu\n", lines ? "lines" : "bytes", in show_cache_info()
/tools/verification/rvgen/rvgen/
A Dltl2k.py163 lines = break_long_line(line, indent)
164 buf.extend(lines)
197 lines = break_long_line(line, indent)
198 buf.extend(lines)
/tools/testing/selftests/gpio/
A Dgpio-chip-info.c50 printf("%u\n", info.lines); in main()
/tools/testing/selftests/net/
A Drtnetlink.sh654 run_cmd test $lines -eq 2
658 run_cmd test $lines -eq 2
661 lines=`ip x s list | wc -l`
662 run_cmd test $lines -eq 0
671 run_cmd test $lines -eq 2
676 run_cmd test $lines -eq 2
680 lines=`ip x p list | wc -l`
681 run_cmd test $lines -eq 0
686 run_cmd test $lines -eq 20
786 if [ $lines -ne 2 ] ; then
[all …]
/tools/testing/selftests/drivers/net/netdevsim/
A Dfib_notifications.sh64 lines=`wc -l $outfile | cut "-d " -f1`
65 test $lines -eq $expected_num_lines
66 check_err $? "$expected_num_lines notifications were expected but $lines were received"
/tools/perf/Documentation/
A Dperf-annotate.txt74 Print matching source lines (may be slow).
94 samples, TAB/UNTAB cycles through the lines with more samples.
156 functions to display, not about lines within the function.
A Dperf-probe.txt45 or lines. If a path of module file is passed, perf-probe
81 Show source code lines which can be probed. This needs an argument
219 FUNC specifies the function name of showing lines. 'RLN' is the start line
223 many lines to show by using 'NUM'. Moreover, 'FUNC@SRC' combination is good
225 So, "source.c:100-120" shows lines between 100th to 120th in source.c file. And "func:10+20" shows …
247 Display which lines in schedule() can be probed:
263 Add probes on lines in schedule() function which calls update_rq_clock().

Completed in 34 milliseconds

123