Lines Matching defs:tracing
20 char tracing_events_path[PATH_MAX + 1] = "/sys/kernel/debug/tracing/events";
251 mountpoint, "tracing/events");
284 * Finds the path to the debugfs/tracing
289 static char *tracing;
294 return tracing;
300 tracing = malloc(strlen(debugfs) + 9);
301 if (!tracing)
304 sprintf(tracing, "%s/tracing", debugfs);
307 return tracing;
312 const char *tracing;
315 tracing = find_tracing_dir();
316 if (!tracing)
319 file = malloc(strlen(tracing) + strlen(name) + 2);
323 sprintf(file, "%s/%s", tracing, name);