Home
last modified time | relevance | path

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

/linux/tools/lib/subcmd/
H A Drun-command.c235 FILE *status_file; in check_if_command_finished() local
242 status_file = fopen(filename, "r"); in check_if_command_finished()
243 if (status_file == NULL) { in check_if_command_finished()
247 while (fgets(status_line, sizeof(status_line), status_file) != NULL) { in check_if_command_finished()
253 fclose(status_file); in check_if_command_finished()
260 fclose(status_file); in check_if_command_finished()
/linux/tools/testing/selftests/user_events/
H A Dftrace_test.c22 const char *status_file = "/sys/kernel/tracing/user_events_status"; variable
213 self->status_fd = open(status_file, O_RDONLY); in FIXTURE_SETUP()