/tools/testing/selftests/bpf/ |
D | test_bpftool_synctypes.py | 34 def parse(self, pattern, end_marker): argument 46 capture = pattern.search(line) 47 if capture and pattern.groups >= 1: 75 pattern = re.compile('\[(BPF_\w*)\]\s*= "(.*)",?$') 81 capture = pattern.search(line) 90 def parse(self, pattern, end_marker): argument 102 entries.update(pattern.findall(line)) 175 pattern = re.compile('^\s*(BPF_\w+),?(\s+/\*.*\*/)?$') 179 return parser.parse(pattern, end_marker) 181 def __get_description_list(self, start_marker, pattern, end_marker): argument [all …]
|
D | test_bpftool.py | 177 for pattern in expected_patterns: 178 self.assertRegex(res, pattern)
|
/tools/perf/tests/shell/ |
D | record+probe_libc_inet_pton.sh | 64 while read line <&3 && read -r pattern <&4; do 65 [ -z "$pattern" ] && break 67 echo "$line" | egrep -q "$pattern" 69 printf "FAIL: expected backtrace entry \"%s\" got \"%s\"\n" "$pattern" "$line"
|
/tools/testing/selftests/powerpc/mm/ |
D | tlbie_test.c | 216 static inline unsigned int extract_tid(unsigned int pattern) in extract_tid() argument 220 ret = (pattern >> THREAD_ID_SHIFT) & THREAD_ID_MASK; in extract_tid() 225 static inline unsigned int extract_word_offset(unsigned int pattern) in extract_word_offset() argument 229 ret = (pattern >> WORD_OFFSET_SHIFT) & WORD_OFFSET_MASK; in extract_word_offset() 235 static inline unsigned int extract_sweep_id(unsigned int pattern) in extract_sweep_id() argument 240 ret = (pattern >> SWEEP_ID_SHIFT) & SWEEP_ID_MASK; in extract_sweep_id() 469 unsigned int pattern = cur_sweep_id; in rim_fn() local 470 unsigned int *pattern_ptr = &pattern; in rim_fn()
|
/tools/bootconfig/samples/ |
D | good-mixed-kv1.bconf | 1 # value -> subkey pattern
|
D | good-mixed-kv2.bconf | 1 # subkey -> value pattern
|
/tools/perf/Documentation/ |
D | perf-ftrace.txt | 36 List available functions to trace. It accepts a pattern to 75 function (or a glob pattern). Multiple functions can be given 77 can be a glob pattern. It will be passed to 'set_ftrace_filter' 95 function (or a glob pattern). This is useful to trace for 103 given function (or a glob pattern). Like -G option, this is useful
|
/tools/testing/selftests/powerpc/switch_endian/ |
D | switch_endian_test.S | 15 pattern: label 21 ld r15, pattern@TOC(%r2)
|
/tools/testing/selftests/net/ |
D | toeplitz.sh | 107 local -r pattern="receive-hashing:\ on" 109 ethtool -k "${DEV}" | grep -q "${pattern}" || die "rxhash must be enabled"
|
/tools/memory-model/litmus-tests/ |
D | LB+poonceonces.litmus | 6 * Can the counter-intuitive outcome for the load-buffering pattern
|
D | MP+pooncerelease+poacquireonce.litmus | 8 * pattern.
|
D | SB+poonceonces.litmus | 7 * to order the store-buffering pattern, where each process writes to the
|
D | MP+fencewmbonceonce+fencermbonceonce.litmus | 7 * sufficient ordering for the message-passing pattern. However, it
|
D | SB+fencembonceonces.litmus | 7 * order the store-buffering pattern, where each process writes to the
|
D | WRC+poonceonces+Once.litmus | 6 * This litmus test is an extension of the message-passing pattern,
|
D | WRC+pooncerelease+fencermbonceonce+Once.litmus | 6 * This litmus test is an extension of the message-passing pattern, where
|
D | LB+fencembonceonce+ctrlonceonce.litmus | 7 * the load-buffering pattern, in other words, preventing all processes
|
/tools/testing/selftests/drivers/net/netdevsim/ |
D | ethtool-coalesce.sh | 10 awk -F':' -v pattern="$query:" '$0 ~ pattern {gsub(/[ \t]/, "", $2); print $2}')
|
D | ethtool-ring.sh | 11 awk -F':' -v pattern="$query:" '$0 ~ pattern {gsub(/[\t ]/, "", $2); print $2}')
|
/tools/testing/selftests/vm/ |
D | split_huge_page_test.c | 118 static bool check_for_pattern(FILE *fp, const char *pattern, char *buf) in check_for_pattern() argument 121 if (!strncmp(buf, pattern, strlen(pattern))) in check_for_pattern()
|
/tools/testing/selftests/tc-testing/creating-testcases/ |
D | AddingTestCases.txt | 23 when defining the match pattern. Refer to the supplied json test files 24 for examples when in doubt. The match pattern is written in json, and 25 will be used by python. So the match pattern will be a python regular 59 verifyCmd to prove the command under test succeeded. This pattern
|
/tools/perf/util/ |
D | parse-events.y | 295 char *pattern = NULL; variable 303 free(pattern); \ 320 if (asprintf(&pattern, "%s*", $1) < 0) 329 if (!perf_pmu__match(pattern, name, $1) || 330 !perf_pmu__match(pattern, pmu->alias_name, $1)) { 344 free(pattern);
|
/tools/usb/ |
D | ffs-test.c | 497 enum pattern { PAT_ZERO, PAT_SEQ, PAT_PIPE }; enum 498 static enum pattern pattern; variable 508 switch (pattern) { in fill_in_buf() 535 switch (pattern) { in empty_out_buf()
|
/tools/perf/scripts/python/ |
D | exported-sql-viewer.py | 385 self.pattern = QCheckBox("Regular Expression") 387 self.pattern = QCheckBox("Pattern") 388 self.pattern.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed) 408 self.hbox.addWidget(self.pattern) 430 self.pattern.hide() 438 self.pattern.show() 444 pattern = self.pattern.isChecked() 446 self.last_pattern = pattern 447 self.finder.Find(value, direction, pattern, self.context) 451 pattern = self.pattern.isChecked() [all …]
|
/tools/lib/bpf/ |
D | libbpf_probes.c | 20 static bool grep(const char *buffer, const char *pattern) in grep() argument 22 return !!strstr(buffer, pattern); in grep()
|