Home
last modified time | relevance | path

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

/tools/perf/util/
Dutil.c348 size_t str_size) in fetch_kernel_version() argument
361 if (str && str_size) { in fetch_kernel_version()
362 strncpy(str, utsname.release, str_size); in fetch_kernel_version()
363 str[str_size - 1] = '\0'; in fetch_kernel_version()
/tools/perf/bench/
Devlist-open-close.c188 int i, str_size = strlen(evstr), in bench__repeat_event_string() local
189 final_size = str_size * n + n, in bench__repeat_event_string()
198 err = strbuf_add(&buf, evstr, str_size); in bench__repeat_event_string()
/tools/lib/traceevent/
Devent-parse.c3923 int str_size = (nr_bits + 3) / 4; in print_bitmask_to_seq() local
3934 str_size += (nr_bits - 1) / 32; in print_bitmask_to_seq()
3936 str = malloc(str_size + 1); in print_bitmask_to_seq()
3941 str[str_size] = 0; in print_bitmask_to_seq()
3944 for (i = str_size - 2; i >= 0; i -= 2) { in print_bitmask_to_seq()