Lines Matching refs:argv
44 static int __trace_eprobe_create(int argc, const char *argv[]);
124 int argc, const char **argv, struct dyn_event *ev) in eprobe_dyn_event_match() argument
161 slash = strchr(argv[0], '/'); in eprobe_dyn_event_match()
163 slash = strchr(argv[0], '.'); in eprobe_dyn_event_match()
167 if (strncmp(ep->event_system, argv[0], slash - argv[0])) in eprobe_dyn_event_match()
173 argv++; in eprobe_dyn_event_match()
179 return trace_probe_match_command_args(&ep->tp, argc, argv); in eprobe_dyn_event_match()
900 static int trace_eprobe_tp_update_arg(struct trace_eprobe *ep, const char *argv[], int i) in trace_eprobe_tp_update_arg() argument
905 ret = traceprobe_parse_probe_arg(&ep->tp, i, argv[i], flags); in trace_eprobe_tp_update_arg()
922 static int trace_eprobe_parse_filter(struct trace_eprobe *ep, int argc, const char *argv[]) in trace_eprobe_parse_filter() argument
935 len += strlen(argv[i]) + 1; in trace_eprobe_parse_filter()
943 ret = snprintf(p, len, "%s ", argv[i]); in trace_eprobe_parse_filter()
972 static int __trace_eprobe_create(int argc, const char *argv[]) in __trace_eprobe_create() argument
990 if (argc < 2 || argv[0][0] != 'e') in __trace_eprobe_create()
993 trace_probe_log_init("event_probe", argc, argv); in __trace_eprobe_create()
995 event = strchr(&argv[0][1], ':'); in __trace_eprobe_create()
999 event - argv[0]); in __trace_eprobe_create()
1005 sys_event = argv[1]; in __trace_eprobe_create()
1018 if (!strcmp(argv[i], "if")) { in __trace_eprobe_create()
1043 ret = trace_eprobe_parse_filter(ep, filter_cnt, argv + filter_idx); in __trace_eprobe_create()
1049 argc -= 2; argv += 2; in __trace_eprobe_create()
1053 ret = trace_eprobe_tp_update_arg(ep, argv, i); in __trace_eprobe_create()