Lines Matching refs:argv
41 static int __trace_eprobe_create(int argc, const char *argv[]);
120 int argc, const char **argv, struct dyn_event *ev) in eprobe_dyn_event_match() argument
156 slash = strchr(argv[0], '/'); in eprobe_dyn_event_match()
158 slash = strchr(argv[0], '.'); in eprobe_dyn_event_match()
162 if (strncmp(ep->event_system, argv[0], slash - argv[0])) in eprobe_dyn_event_match()
168 argv++; in eprobe_dyn_event_match()
174 return trace_probe_match_command_args(&ep->tp, argc, argv); in eprobe_dyn_event_match()
882 static int trace_eprobe_tp_update_arg(struct trace_eprobe *ep, const char *argv[], int i) in trace_eprobe_tp_update_arg() argument
887 ret = traceprobe_parse_probe_arg(&ep->tp, i, argv[i], flags); in trace_eprobe_tp_update_arg()
901 static int __trace_eprobe_create(int argc, const char *argv[]) in __trace_eprobe_create() argument
918 if (argc < 2 || argv[0][0] != 'e') in __trace_eprobe_create()
921 trace_probe_log_init("event_probe", argc, argv); in __trace_eprobe_create()
923 event = strchr(&argv[0][1], ':'); in __trace_eprobe_create()
927 event - argv[0]); in __trace_eprobe_create()
931 strscpy(buf1, argv[1], MAX_EVENT_NAME_LEN); in __trace_eprobe_create()
938 sys_event = argv[1]; in __trace_eprobe_create()
940 sys_event - argv[1]); in __trace_eprobe_create()
959 argc -= 2; argv += 2; in __trace_eprobe_create()
963 ret = trace_eprobe_tp_update_arg(ep, argv, i); in __trace_eprobe_create()