Lines Matching refs:trace_probe_log
143 static struct trace_probe_log trace_probe_log; variable
147 trace_probe_log.subsystem = subsystem; in trace_probe_log_init()
148 trace_probe_log.argc = argc; in trace_probe_log_init()
149 trace_probe_log.argv = argv; in trace_probe_log_init()
150 trace_probe_log.index = 0; in trace_probe_log_init()
155 memset(&trace_probe_log, 0, sizeof(trace_probe_log)); in trace_probe_log_clear()
160 trace_probe_log.index = index; in trace_probe_log_set_index()
168 if (!trace_probe_log.argv) in __trace_probe_log_err()
172 for (i = 0; i < trace_probe_log.argc; i++) { in __trace_probe_log_err()
173 if (i == trace_probe_log.index) in __trace_probe_log_err()
175 len += strlen(trace_probe_log.argv[i]) + 1; in __trace_probe_log_err()
181 if (trace_probe_log.index >= trace_probe_log.argc) { in __trace_probe_log_err()
193 for (i = 0; i < trace_probe_log.argc; i++) { in __trace_probe_log_err()
194 len = strlen(trace_probe_log.argv[i]); in __trace_probe_log_err()
195 strcpy(p, trace_probe_log.argv[i]); in __trace_probe_log_err()
201 tracing_log_err(NULL, trace_probe_log.subsystem, command, in __trace_probe_log_err()