Home
last modified time | relevance | path

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

/tools/perf/util/
Dtime-utils.c67 static int split_start_end(char **start, char **end, const char *ostr, char ch) in split_start_end() argument
72 if (ostr == NULL || *ostr == '\0') in split_start_end()
76 str = strdup(ostr); in split_start_end()
94 int perf_time__parse_str(struct perf_time_interval *ptime, const char *ostr) in perf_time__parse_str() argument
99 rc = split_start_end(&start_str, &end_str, ostr, ','); in perf_time__parse_str()
121 const char *ostr, int size) in perf_time__parse_strs() argument
128 for (cp = ostr; *cp; cp++) in perf_time__parse_strs()
136 str = strdup(ostr); in perf_time__parse_strs()
283 const char *ostr, u64 start, u64 end, in percent_comma_split() argument
289 str = strdup(ostr); in percent_comma_split()
[all …]
Dtime-utils.h15 int perf_time__parse_str(struct perf_time_interval *ptime, const char *ostr);
18 const char *ostr, u64 start, u64 end);
20 struct perf_time_interval *perf_time__range_alloc(const char *ostr, int *size);
Dclockid.c72 const char *ostr = str; in parse_clockid() local
106 ui__warning("unknown clockid %s, check man page\n", ostr); in parse_clockid()
/tools/perf/tests/
Dtime-utils-test.c36 static bool test__perf_time__parse_str(const char *ostr, u64 start, u64 end) in test__perf_time__parse_str() argument
41 pr_debug("\nperf_time__parse_str(\"%s\")\n", ostr); in test__perf_time__parse_str()
43 err = perf_time__parse_str(&ptime, ostr); in test__perf_time__parse_str()