Home
last modified time | relevance | path

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

/tools/perf/util/
Dutil.c422 size_t str_size) in fetch_kernel_version() argument
435 if (str && str_size) { in fetch_kernel_version()
436 strncpy(str, utsname.release, str_size); in fetch_kernel_version()
437 str[str_size - 1] = '\0'; in fetch_kernel_version()
/tools/lib/traceevent/
Devent-parse.c3827 int str_size = (nr_bits + 3) / 4; in print_bitmask_to_seq() local
3838 str_size += (nr_bits - 1) / 32; in print_bitmask_to_seq()
3840 str = malloc(str_size + 1); in print_bitmask_to_seq()
3845 str[str_size] = 0; in print_bitmask_to_seq()
3848 for (i = str_size - 2; i >= 0; i -= 2) { in print_bitmask_to_seq()