Lines Matching refs:snprintf
300 snprintf(cmdpath, sizeof(cmdpath), "/proc/%d/cmdline", pid); in __for_each_pid()
311 snprintf(cmdpath, sizeof(cmdpath), "/proc/%d/comm", pid); in __for_each_pid()
351 snprintf(taskpath, sizeof(taskpath), "/proc/%d/task", pid); in for_each_tid_helper()
379 snprintf(commpath, sizeof(commpath), "/proc/%d/comm", tid); in for_each_tid_helper()
419 snprintf(path, sizeof(path), "/proc/%d/wchan", tid); in show_wchan()
434 snprintf(name_buffer, sizeof(name_buffer), "%*s%s", in show_wchan()
459 snprintf(str, sizeof(str), " %llu.%02u", in snprcent()
462 snprintf(buffer + offset, (len > offset) ? len - offset : 0, in snprcent()
470 snprintf(str, sizeof(str), " %u.%u%%", permille / 10, permille % 10); in snprdec()
472 snprintf(buffer + offset, (len > offset) ? len - offset : 0, in snprdec()
485 snprintf(path, sizeof(path), "/proc/%d/stat", pid); in show_showtime()
524 snprintf(buffer, sizeof(buffer), "%-6d%s", pid, name); in show_showtime()
574 snprintf(title, sizeof(title), "SHOW MAP %d (%s)", pid, name); in do_showmap()
575 snprintf(arg, sizeof(arg), "%d", pid); in do_showmap()