Lines Matching refs:trace_probe_log
156 static struct trace_probe_log trace_probe_log; variable
160 trace_probe_log.subsystem = subsystem; in trace_probe_log_init()
161 trace_probe_log.argc = argc; in trace_probe_log_init()
162 trace_probe_log.argv = argv; in trace_probe_log_init()
163 trace_probe_log.index = 0; in trace_probe_log_init()
168 memset(&trace_probe_log, 0, sizeof(trace_probe_log)); in trace_probe_log_clear()
173 trace_probe_log.index = index; in trace_probe_log_set_index()
181 if (!trace_probe_log.argv) in __trace_probe_log_err()
185 for (i = 0; i < trace_probe_log.argc; i++) { in __trace_probe_log_err()
186 if (i == trace_probe_log.index) in __trace_probe_log_err()
188 len += strlen(trace_probe_log.argv[i]) + 1; in __trace_probe_log_err()
194 if (trace_probe_log.index >= trace_probe_log.argc) { in __trace_probe_log_err()
206 for (i = 0; i < trace_probe_log.argc; i++) { in __trace_probe_log_err()
207 len = strlen(trace_probe_log.argv[i]); in __trace_probe_log_err()
208 strcpy(p, trace_probe_log.argv[i]); in __trace_probe_log_err()
214 tracing_log_err(NULL, trace_probe_log.subsystem, command, in __trace_probe_log_err()