Lines Matching refs:trace_probe_log
152 static struct trace_probe_log trace_probe_log; variable
156 trace_probe_log.subsystem = subsystem; in trace_probe_log_init()
157 trace_probe_log.argc = argc; in trace_probe_log_init()
158 trace_probe_log.argv = argv; in trace_probe_log_init()
159 trace_probe_log.index = 0; in trace_probe_log_init()
164 memset(&trace_probe_log, 0, sizeof(trace_probe_log)); in trace_probe_log_clear()
169 trace_probe_log.index = index; in trace_probe_log_set_index()
177 if (!trace_probe_log.argv) in __trace_probe_log_err()
181 for (i = 0; i < trace_probe_log.argc; i++) { in __trace_probe_log_err()
182 if (i == trace_probe_log.index) in __trace_probe_log_err()
184 len += strlen(trace_probe_log.argv[i]) + 1; in __trace_probe_log_err()
190 if (trace_probe_log.index >= trace_probe_log.argc) { in __trace_probe_log_err()
202 for (i = 0; i < trace_probe_log.argc; i++) { in __trace_probe_log_err()
203 len = strlen(trace_probe_log.argv[i]); in __trace_probe_log_err()
204 strcpy(p, trace_probe_log.argv[i]); in __trace_probe_log_err()
210 tracing_log_err(NULL, trace_probe_log.subsystem, command, in __trace_probe_log_err()