Lines Matching refs:trace_probe_log
155 static struct trace_probe_log trace_probe_log; variable
159 trace_probe_log.subsystem = subsystem; in trace_probe_log_init()
160 trace_probe_log.argc = argc; in trace_probe_log_init()
161 trace_probe_log.argv = argv; in trace_probe_log_init()
162 trace_probe_log.index = 0; in trace_probe_log_init()
167 memset(&trace_probe_log, 0, sizeof(trace_probe_log)); in trace_probe_log_clear()
172 trace_probe_log.index = index; in trace_probe_log_set_index()
180 if (!trace_probe_log.argv) in __trace_probe_log_err()
184 for (i = 0; i < trace_probe_log.argc; i++) { in __trace_probe_log_err()
185 if (i == trace_probe_log.index) in __trace_probe_log_err()
187 len += strlen(trace_probe_log.argv[i]) + 1; in __trace_probe_log_err()
193 if (trace_probe_log.index >= trace_probe_log.argc) { in __trace_probe_log_err()
205 for (i = 0; i < trace_probe_log.argc; i++) { in __trace_probe_log_err()
206 len = strlen(trace_probe_log.argv[i]); in __trace_probe_log_err()
207 strcpy(p, trace_probe_log.argv[i]); in __trace_probe_log_err()
213 tracing_log_err(NULL, trace_probe_log.subsystem, command, in __trace_probe_log_err()