Searched refs:allopt (Results 1 – 1 of 1) sorted by relevance
1247 static char *find_next_optstr(const char *allopt, const char **next) in find_next_optstr() argument1254 if (allopt == NULL) in find_next_optstr()1257 for (begin = allopt; *begin != '\0'; begin++) { in find_next_optstr()1275 static bool get_trace_opt(const char *allopt, const char *opt, bool *found) in get_trace_opt() argument1280 const char *next = allopt; in get_trace_opt()1325 char *allopt; in save_trace_opts() local1329 allopt = tracefs_instance_file_read(NULL, TR_OPTIONS, &psize); in save_trace_opts()1330 if (!allopt) in save_trace_opts()1334 state->opt[i] = get_trace_opt(allopt, optstr[i], in save_trace_opts()1337 free(allopt); in save_trace_opts()