Lines Matching refs:trace_probe_log
156 static struct trace_probe_log trace_probe_log; variable
163 trace_probe_log.subsystem = subsystem; in trace_probe_log_init()
164 trace_probe_log.argc = argc; in trace_probe_log_init()
165 trace_probe_log.argv = argv; in trace_probe_log_init()
166 trace_probe_log.index = 0; in trace_probe_log_init()
173 memset(&trace_probe_log, 0, sizeof(trace_probe_log)); in trace_probe_log_clear()
180 trace_probe_log.index = index; in trace_probe_log_set_index()
190 if (!trace_probe_log.argv) in __trace_probe_log_err()
194 for (i = 0; i < trace_probe_log.argc; i++) { in __trace_probe_log_err()
195 if (i == trace_probe_log.index) in __trace_probe_log_err()
197 len += strlen(trace_probe_log.argv[i]) + 1; in __trace_probe_log_err()
203 if (trace_probe_log.index >= trace_probe_log.argc) { in __trace_probe_log_err()
215 for (i = 0; i < trace_probe_log.argc; i++) { in __trace_probe_log_err()
216 len = strlen(trace_probe_log.argv[i]); in __trace_probe_log_err()
217 strcpy(p, trace_probe_log.argv[i]); in __trace_probe_log_err()
223 tracing_log_err(NULL, trace_probe_log.subsystem, command, in __trace_probe_log_err()