Home
last modified time | relevance | path

Searched refs:val_copy (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/perf/
H A Dbuiltin-ftrace.c69 char *val_copy; in __write_tracing_file() local
93 val_copy = strdup(val); in __write_tracing_file()
94 if (!val_copy) in __write_tracing_file()
96 val_copy[size] = '\n'; in __write_tracing_file()
98 if (write(fd, val_copy, size + 1) == size + 1) in __write_tracing_file()
104 free(val_copy); in __write_tracing_file()