Home
last modified time | relevance | path

Searched refs:slash (Results 1 – 2 of 2) sorted by relevance

/kernel/trace/
Dtrace_probe.c234 const char *slash, *event = *pevent; in traceprobe_parse_event_name() local
237 slash = strchr(event, '/'); in traceprobe_parse_event_name()
238 if (!slash) in traceprobe_parse_event_name()
239 slash = strchr(event, '.'); in traceprobe_parse_event_name()
241 if (slash) { in traceprobe_parse_event_name()
242 if (slash == event) { in traceprobe_parse_event_name()
246 if (slash - event + 1 > MAX_EVENT_NAME_LEN) { in traceprobe_parse_event_name()
250 strlcpy(buf, event, slash - event + 1); in traceprobe_parse_event_name()
256 *pevent = slash + 1; in traceprobe_parse_event_name()
257 offset += slash - event + 1; in traceprobe_parse_event_name()
[all …]
Dtrace_eprobe.c127 const char *slash; in eprobe_dyn_event_match() local
161 slash = strchr(argv[0], '/'); in eprobe_dyn_event_match()
162 if (!slash) in eprobe_dyn_event_match()
163 slash = strchr(argv[0], '.'); in eprobe_dyn_event_match()
164 if (!slash) in eprobe_dyn_event_match()
167 if (strncmp(ep->event_system, argv[0], slash - argv[0])) in eprobe_dyn_event_match()
169 if (strcmp(ep->event_name, slash + 1)) in eprobe_dyn_event_match()