Lines Matching refs:strcmp

1159 	return strcmp(name, fmt->name);
1178 if (fmts[i].alias && strcmp(fmts[i].alias, alias) == 0)
1670 return strcmp(name, fmt->name);
1699 if (strcmp(field->type, "const char *") == 0 &&
1700 ((len >= 4 && strcmp(field->name + len - 4, "name") == 0) ||
1705 else if (strcmp(field->type, "pid_t") == 0)
1707 else if (strcmp(field->type, "umode_t") == 0)
1712 } else if ((strcmp(field->type, "int") == 0 ||
1713 strcmp(field->type, "unsigned int") == 0 ||
1714 strcmp(field->type, "long") == 0) &&
1715 len >= 2 && strcmp(field->name + len - 2, "fd") == 0) {
1816 if (sc->args && (!strcmp(sc->args->name, "__syscall_nr") || !strcmp(sc->args->name, "nr"))) {
1821 sc->is_exit = !strcmp(name, "exit_group") || !strcmp(name, "exit");
1822 sc->is_open = !strcmp(name, "open") || !strcmp(name, "openat");
3414 if (strcmp(field->type, candidate_field->type))
3667 if (!strcmp(thread__comm_str(parent), "sshd") ||
3772 if (strcmp(field->name, arg) == 0)
4488 if (strcmp(str, "all") == 0)
4490 else if (strcmp(str, "maj") == 0)
4492 else if (strcmp(str, "min") == 0)
4520 if (strcmp(evsel->tp_format->format.fields->name, "__syscall_nr") == 0 ||
4521 strcmp(evsel->tp_format->format.fields->name, "nr") == 0)
4537 if (strcmp(evsel->tp_format->system, "syscalls")) {
4680 if (!strcmp(var, "trace.add_events")) {
4686 } else if (!strcmp(var, "trace.show_timestamp")) {
4688 } else if (!strcmp(var, "trace.show_duration")) {
4690 } else if (!strcmp(var, "trace.show_arg_names")) {
4694 } else if (!strcmp(var, "trace.show_zeros")) {
4701 } else if (!strcmp(var, "trace.show_prefix")) {
4703 } else if (!strcmp(var, "trace.no_inherit")) {
4705 } else if (!strcmp(var, "trace.args_alignment")) {
4709 } else if (!strcmp(var, "trace.tracepoint_beautifiers")) {
5039 bool raw_syscalls_sys_exit = strcmp(evsel__name(evsel), "raw_syscalls:sys_exit") == 0;
5103 if ((argc >= 1) && (strcmp(argv[0], "record") == 0))