| /tools/testing/selftests/powerpc/pmu/sampling_tests/ |
| A D | misc.c | 319 if (!strcmp(register_name, "R0")) in __perf_reg_mask() 321 else if (!strcmp(register_name, "R1")) in __perf_reg_mask() 323 else if (!strcmp(register_name, "R2")) in __perf_reg_mask() 325 else if (!strcmp(register_name, "R3")) in __perf_reg_mask() 327 else if (!strcmp(register_name, "R4")) in __perf_reg_mask() 329 else if (!strcmp(register_name, "R5")) in __perf_reg_mask() 331 else if (!strcmp(register_name, "R6")) in __perf_reg_mask() 333 else if (!strcmp(register_name, "R7")) in __perf_reg_mask() 335 else if (!strcmp(register_name, "R8")) in __perf_reg_mask() 337 else if (!strcmp(register_name, "R9")) in __perf_reg_mask() [all …]
|
| /tools/testing/selftests/net/ |
| A D | ioam6_parser.c | 614 if (!strcmp("output_bit0", tname)) in str2id() 774 if (!strcmp("input_bit0", tname)) in str2id() 776 if (!strcmp("input_bit1", tname)) in str2id() 778 if (!strcmp("input_bit2", tname)) in str2id() 780 if (!strcmp("input_bit3", tname)) in str2id() 782 if (!strcmp("input_bit4", tname)) in str2id() 784 if (!strcmp("input_bit5", tname)) in str2id() 786 if (!strcmp("input_bit6", tname)) in str2id() 788 if (!strcmp("input_bit7", tname)) in str2id() 790 if (!strcmp("input_bit8", tname)) in str2id() [all …]
|
| /tools/perf/util/ |
| A D | perf_regs.c | 37 if (!strcmp(arch, "csky")) in perf_reg_name() 41 else if (!strcmp(arch, "mips")) in perf_reg_name() 45 else if (!strcmp(arch, "riscv")) in perf_reg_name() 47 else if (!strcmp(arch, "s390")) in perf_reg_name() 49 else if (!strcmp(arch, "x86")) in perf_reg_name() 51 else if (!strcmp(arch, "arm")) in perf_reg_name() 53 else if (!strcmp(arch, "arm64")) in perf_reg_name() 88 if (!strcmp(arch, "arm")) in perf_arch_reg_ip() 104 else if (!strcmp(arch, "x86")) in perf_arch_reg_ip() 113 if (!strcmp(arch, "arm")) in perf_arch_reg_sp() [all …]
|
| A D | tracepoint.h | 14 (strcmp(evt_dirent->d_name, ".")) && \ 15 (strcmp(evt_dirent->d_name, "..")) && \ 21 (strcmp(sys_dirent->d_name, ".")) && \ 22 (strcmp(sys_dirent->d_name, "..")))
|
| A D | tp_pmu.c | 50 if (!strcmp(evt_ent->d_name, ".") in tp_pmu__for_each_tp_event() 51 || !strcmp(evt_ent->d_name, "..") in tp_pmu__for_each_tp_event() 52 || !strcmp(evt_ent->d_name, "enable") in tp_pmu__for_each_tp_event() 53 || !strcmp(evt_ent->d_name, "filter")) in tp_pmu__for_each_tp_event() 83 if (!strcmp(events_ent->d_name, ".") || in tp_pmu__for_each_tp_sys() 84 !strcmp(events_ent->d_name, "..") || in tp_pmu__for_each_tp_sys() 85 !strcmp(events_ent->d_name, "enable") || in tp_pmu__for_each_tp_sys() 86 !strcmp(events_ent->d_name, "header_event") || in tp_pmu__for_each_tp_sys() 87 !strcmp(events_ent->d_name, "header_page")) in tp_pmu__for_each_tp_sys()
|
| /tools/perf/arch/csky/annotate/ |
| A D | instructions.c | 12 if (!strcmp(name, "bt") || in csky__associate_ins_ops() 13 !strcmp(name, "bf") || in csky__associate_ins_ops() 14 !strcmp(name, "bez") || in csky__associate_ins_ops() 15 !strcmp(name, "bnez") || in csky__associate_ins_ops() 17 !strcmp(name, "bhsz") || in csky__associate_ins_ops() 18 !strcmp(name, "bhz") || in csky__associate_ins_ops() 20 !strcmp(name, "blz") || in csky__associate_ins_ops() 21 !strcmp(name, "br") || in csky__associate_ins_ops() 23 !strcmp(name, "jmp")) in csky__associate_ins_ops() 29 !strcmp(name, "jsr")) in csky__associate_ins_ops() [all …]
|
| /tools/perf/tests/ |
| A D | hists_output.c | 182 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test1() 194 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test1() 200 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test1() 218 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "libc") && in test1() 224 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "libc") && in test1() 230 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test1() 336 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test3() 348 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test3() 420 !strcmp(DSO(he), "libc") && !strcmp(SYM(he), "free") && in test4() 426 !strcmp(DSO(he), "bash") && !strcmp(SYM(he), "main") && in test4() [all …]
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | arg_parsing.c | 39 ASSERT_OK(strcmp("arg_parsing", set.tests[0].name), "subtest name"); in test_parse_test_list() 50 ASSERT_OK(strcmp("arg_parsing", set.tests[0].name), "test name"); in test_parse_test_list() 51 ASSERT_OK(strcmp("bpf_cookie", set.tests[1].name), "test name"); in test_parse_test_list() 65 ASSERT_OK(strcmp("arg_parsing", set.tests[0].name), "test name"); in test_parse_test_list() 66 ASSERT_OK(strcmp("arg_parsing", set.tests[0].subtests[0]), in test_parse_test_list() 68 ASSERT_OK(strcmp("bpf_cookie", set.tests[1].name), "test name"); in test_parse_test_list() 84 ASSERT_OK(strcmp("arg_parsing", set.tests[0].subtests[0]), in test_parse_test_list() 86 ASSERT_OK(strcmp("bpf_cookie", set.tests[1].name), "test name"); in test_parse_test_list() 109 ASSERT_OK(strcmp("t", set.tests[0].name), "test name"); in test_parse_test_list() 154 ASSERT_OK(strcmp("testA", set.tests[1].name), "test 1 name"); in test_parse_test_list_file() [all …]
|
| A D | lookup_key.c | 24 if (strcmp(fmt, "libbpf: extern (func ksym) '%s': not found in kernel or module BTFs\n")) in libbpf_print_cb() 29 if (strcmp(func, "bpf_lookup_user_key") && strcmp(func, "bpf_key_put") && in libbpf_print_cb() 30 strcmp(func, "bpf_lookup_system_key")) in libbpf_print_cb()
|
| /tools/perf/arch/ |
| A D | common.c | 173 if (!strcmp(arch, "arc")) in perf_env__lookup_binutils_path() 175 else if (!strcmp(arch, "arm")) in perf_env__lookup_binutils_path() 177 else if (!strcmp(arch, "arm64")) in perf_env__lookup_binutils_path() 179 else if (!strcmp(arch, "powerpc")) in perf_env__lookup_binutils_path() 181 else if (!strcmp(arch, "riscv32")) in perf_env__lookup_binutils_path() 183 else if (!strcmp(arch, "riscv64")) in perf_env__lookup_binutils_path() 185 else if (!strcmp(arch, "sh")) in perf_env__lookup_binutils_path() 187 else if (!strcmp(arch, "s390")) in perf_env__lookup_binutils_path() 189 else if (!strcmp(arch, "sparc")) in perf_env__lookup_binutils_path() 191 else if (!strcmp(arch, "x86")) in perf_env__lookup_binutils_path() [all …]
|
| /tools/power/cpupower/utils/ |
| A D | cpupower.c | 95 if ((subpage != NULL) && strcmp(subpage, "help")) { in print_man_page() 132 if (!strcmp(param, "-h") || !strcmp(param, "--help")) { in handle_options() 135 } else if (!strcmp(param, "-c") || !strcmp(param, "--cpu")) { in handle_options() 140 if (!strcmp((*argv)[x+1], "all")) in handle_options() 155 } else if (!strcmp(param, "-v") || in handle_options() 156 !strcmp(param, "--version")) { in handle_options() 160 } else if (!strcmp(param, "-d") || !strcmp(param, "--debug")) { in handle_options() 203 if (argc > 1 && !strcmp(argv[1], "--help")) { in main() 219 if (!ret && !strcmp(uts.machine, "x86_64") && in main() 228 if (strcmp(p->cmd, cmd)) in main()
|
| /tools/verification/rv/src/ |
| A D | rv.c | 57 if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) { in rv_list() 112 } else if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) { in rv_mon() 182 if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) in main() 185 if (!strcmp(argv[1], "list")) in main() 188 if (!strcmp(argv[1], "mon")) { in main()
|
| /tools/power/cpupower/bench/ |
| A D | parse.c | 188 if (strcmp("sleep", opt) == 0) in prepare_config() 191 else if (strcmp("load", opt) == 0) in prepare_config() 194 else if (strcmp("load_step", opt) == 0) in prepare_config() 197 else if (strcmp("sleep_step", opt) == 0) in prepare_config() 200 else if (strcmp("cycles", opt) == 0) in prepare_config() 203 else if (strcmp("rounds", opt) == 0) in prepare_config() 206 else if (strcmp("verbose", opt) == 0) in prepare_config() 209 else if (strcmp("output", opt) == 0) in prepare_config() 212 else if (strcmp("cpu", opt) == 0) in prepare_config() 215 else if (strcmp("governor", opt) == 0) { in prepare_config() [all …]
|
| /tools/tracing/rtla/src/ |
| A D | rtla.c | 48 if (strcmp(argv[start_position], "osnoise") == 0) { in run_command() 51 } else if (strcmp(argv[start_position], "hwnoise") == 0) { in run_command() 54 } else if (strcmp(argv[start_position], "timerlat") == 0) { in run_command() 76 if (strcmp(argv[1], "-h") == 0) { in main() 78 } else if (strcmp(argv[1], "--help") == 0) { in main()
|
| /tools/perf/arch/s390/annotate/ |
| A D | instructions.c | 117 if (!strcmp(name, "bras") || in s390__associate_ins_ops() 118 !strcmp(name, "brasl") || in s390__associate_ins_ops() 119 !strcmp(name, "basr")) in s390__associate_ins_ops() 121 if (!strcmp(name, "br")) in s390__associate_ins_ops() 124 if (!strcmp(name, "lrl") || in s390__associate_ins_ops() 125 !strcmp(name, "lgrl") || in s390__associate_ins_ops() 126 !strcmp(name, "lgfrl") || in s390__associate_ins_ops() 127 !strcmp(name, "llgfrl") || in s390__associate_ins_ops() 128 !strcmp(name, "strl") || in s390__associate_ins_ops() 129 !strcmp(name, "stgrl")) in s390__associate_ins_ops()
|
| /tools/perf/ |
| A D | perf.c | 211 if (!strcmp(cmd, "--help") || !strcmp(cmd, "--version")) in handle_options() 218 if (!strcmp(cmd, "-h")) { in handle_options() 223 if (!strcmp(cmd, "-v")) { in handle_options() 228 if (!strcmp(cmd, "-vv")) { in handle_options() 245 } else if (!strcmp(cmd, "--html-path")) { in handle_options() 248 } else if (!strcmp(cmd, "-p") || !strcmp(cmd, "--paginate")) { in handle_options() 250 } else if (!strcmp(cmd, "--no-pager")) { in handle_options() 279 } else if (!strcmp(cmd, "--list-cmds")) { in handle_options() 288 } else if (!strcmp(cmd, "--list-opts")) { in handle_options() 297 } else if (!strcmp(cmd, "--debug")) { in handle_options() [all …]
|
| A D | builtin-bench.c | 200 if (!strcmp(str, BENCH_FORMAT_DEFAULT_STR)) in bench_str2int() 202 else if (!strcmp(str, BENCH_FORMAT_SIMPLE_STR)) in bench_str2int() 302 if (!strcmp(argv[0], "all")) { in cmd_bench() 310 if (strcmp(coll->name, argv[0])) in cmd_bench() 319 if (!strcmp(argv[1], "all")) { in cmd_bench() 325 if (strcmp(bench->name, argv[1])) in cmd_bench() 334 if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) { in cmd_bench()
|
| /tools/perf/arch/sparc/annotate/ |
| A D | instructions.c | 124 if (!strcmp(name, "call") || in sparc__associate_instruction_ops() 125 !strcmp(name, "jmp") || in sparc__associate_instruction_ops() 126 !strcmp(name, "jmpl")) { in sparc__associate_instruction_ops() 128 } else if (!strcmp(name, "ret") || in sparc__associate_instruction_ops() 129 !strcmp(name, "retl") || in sparc__associate_instruction_ops() 130 !strcmp(name, "return")) { in sparc__associate_instruction_ops() 132 } else if (!strcmp(name, "mov")) { in sparc__associate_instruction_ops()
|
| /tools/perf/arch/s390/util/ |
| A D | pmu.c | 18 if (!strcmp(pmu->name, S390_PMUPAI_CRYPTO) || in perf_pmu__arch_init() 19 !strcmp(pmu->name, S390_PMUPAI_EXT) || in perf_pmu__arch_init() 20 !strcmp(pmu->name, S390_PMUCPUM_CF)) in perf_pmu__arch_init()
|
| /tools/testing/selftests/memfd/ |
| A D | fuse_mnt.c | 31 if (!strcmp(path, "/")) { in memfd_getattr() 34 } else if (!strcmp(path, memfd_path)) { in memfd_getattr() 51 if (strcmp(path, "/")) in memfd_readdir() 63 if (strcmp(path, memfd_path)) in memfd_open() 83 if (strcmp(path, memfd_path) != 0) in memfd_read()
|
| /tools/testing/selftests/lsm/ |
| A D | lsm_get_self_attr_test.c | 193 ASSERT_EQ(0, strcmp((char *)tctx->ctx, attr)); in TEST() 196 ASSERT_NE(0, strcmp((char *)tctx->ctx, attr)); in TEST() 206 ASSERT_EQ(0, strcmp((char *)tctx->ctx, attr)); in TEST() 210 ASSERT_NE(0, strcmp((char *)tctx->ctx, attr)); in TEST() 220 ASSERT_EQ(0, strcmp((char *)tctx->ctx, attr)); in TEST() 224 ASSERT_NE(0, strcmp((char *)tctx->ctx, attr)); in TEST() 234 ASSERT_EQ(0, strcmp((char *)tctx->ctx, attr)); in TEST() 238 ASSERT_NE(0, strcmp((char *)tctx->ctx, attr)); in TEST() 248 ASSERT_EQ(0, strcmp((char *)tctx->ctx, attr)); in TEST() 251 ASSERT_NE(0, strcmp((char *)tctx->ctx, attr)); in TEST() [all …]
|
| /tools/testing/selftests/proc/ |
| A D | proc-maps-race.c | 566 if (!strcmp(new_last_line.text, split_last_line.text)) { in TEST_F() 577 strcmp(new_first_line.text, split_first_line.text) && in TEST_F() 578 strcmp(new_first_line.text, restored_last_line.text), in TEST_F() 583 strcmp(new_last_line.text, restored_last_line.text), in TEST_F() 586 strcmp(new_first_line.text, restored_first_line.text), in TEST_F() 642 if (!strcmp(new_last_line.text, shrunk_last_line.text)) { in TEST_F() 652 strcmp(new_first_line.text, shrunk_first_line.text) && in TEST_F() 653 strcmp(new_first_line.text, restored_last_line.text), in TEST_F() 658 strcmp(new_last_line.text, restored_last_line.text), in TEST_F() 720 strcmp(new_first_line.text, restored_last_line.text), in TEST_F() [all …]
|
| /tools/testing/selftests/gpio/ |
| A D | gpio-chip-info.c | 45 if (strcmp(argv[2], "name") == 0) { in main() 47 } else if (strcmp(argv[2], "label") == 0) { in main() 49 } else if (strcmp(argv[2], "num-lines") == 0) { in main()
|
| /tools/testing/selftests/pidfd/ |
| A D | pidfd_xattr_test.c | 69 ASSERT_EQ(strcmp(buf, xattr_value), 0); in TEST_F() 78 if (strcmp(it, xattr_name)) in TEST_F() 109 ASSERT_EQ(strcmp(buf, "persistent value"), 0); in TEST_F() 113 ASSERT_EQ(strcmp(list, "trusted.persistent"), 0) in TEST_F() 125 ASSERT_EQ(strcmp(buf, "persistent value"), 0); in TEST_F() 129 ASSERT_EQ(strcmp(list, "trusted.persistent"), 0); in TEST_F()
|
| /tools/testing/selftests/powerpc/dexcr/ |
| A D | chdexcr.c | 48 if (aspects[i].prctl != -1 && !strcmp(aspects[i].opt, opt)) in opt_to_aspect() 63 if (!strcmp(option, "-h") || !strcmp(option, "--help")) { in apply_option() 102 if (i < argc && !strcmp(argv[i], "--")) in main()
|