show_prefix 395 tools/perf/builtin-trace.c size_t strarray__scnprintf(struct strarray *sa, char *bf, size_t size, const char *intfmt, bool show_prefix, int val) show_prefix 401 tools/perf/builtin-trace.c if (show_prefix) show_prefix 406 tools/perf/builtin-trace.c return scnprintf(bf, size, "%s%s", show_prefix ? sa->prefix : "", sa->entries[idx]); show_prefix 429 tools/perf/builtin-trace.c size_t strarrays__scnprintf(struct strarrays *sas, char *bf, size_t size, const char *intfmt, bool show_prefix, int val) show_prefix 441 tools/perf/builtin-trace.c return scnprintf(bf, size, "%s%s", show_prefix ? sa->prefix : "", sa->entries[idx]); show_prefix 446 tools/perf/builtin-trace.c if (show_prefix) show_prefix 585 tools/perf/builtin-trace.c bool show_prefix = arg->show_string_prefix; show_prefix 591 tools/perf/builtin-trace.c return scnprintf(bf, size, "F%s", show_prefix ? suffix : ""); show_prefix 594 tools/perf/builtin-trace.c printed += scnprintf(bf + printed, size - printed, "%s%s", #n, show_prefix ? suffix : ""); \ show_prefix 619 tools/perf/builtin-trace.c bool show_prefix = arg->show_string_prefix; show_prefix 625 tools/perf/builtin-trace.c printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ show_prefix 651 tools/perf/builtin-trace.c bool show_prefix = arg->show_string_prefix; show_prefix 657 tools/perf/builtin-trace.c printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ show_prefix 23 tools/perf/trace/beauty/arch_prctl.c static size_t x86_arch_prctl__scnprintf_code(int option, char *bf, size_t size, bool show_prefix) show_prefix 25 tools/perf/trace/beauty/arch_prctl.c return strarrays__scnprintf(&strarrays__x86_arch_prctl_codes, bf, size, "%#x", show_prefix, option); show_prefix 29 tools/perf/trace/beauty/beauty.h size_t strarray__scnprintf(struct strarray *sa, char *bf, size_t size, const char *intfmt, bool show_prefix, int val); show_prefix 30 tools/perf/trace/beauty/beauty.h size_t strarray__scnprintf_flags(struct strarray *sa, char *bf, size_t size, bool show_prefix, unsigned long flags); show_prefix 52 tools/perf/trace/beauty/beauty.h size_t strarrays__scnprintf(struct strarrays *sas, char *bf, size_t size, const char *intfmt, bool show_prefix, int val); show_prefix 207 tools/perf/trace/beauty/beauty.h size_t open__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix); show_prefix 13 tools/perf/trace/beauty/clone.c static size_t clone__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) show_prefix 20 tools/perf/trace/beauty/clone.c printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ show_prefix 16 tools/perf/trace/beauty/eventfd.c bool show_prefix = arg->show_string_prefix; show_prefix 24 tools/perf/trace/beauty/eventfd.c printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ show_prefix 12 tools/perf/trace/beauty/fcntl.c static size_t fcntl__scnprintf_getfd(unsigned long val, char *bf, size_t size, bool show_prefix) show_prefix 15 tools/perf/trace/beauty/fcntl.c scnprintf(bf, size, "%s%s", show_prefix ? "FD_" : "", "CLOEXEC"); show_prefix 23 tools/perf/trace/beauty/fcntl.c static size_t fcntl__scnprintf_getlease(unsigned long val, char *bf, size_t size, bool show_prefix) show_prefix 28 tools/perf/trace/beauty/fcntl.c return strarray__scnprintf(&strarray__fcntl_setlease, bf, size, "%x", show_prefix, val); show_prefix 72 tools/perf/trace/beauty/fcntl.c bool show_prefix = arg->show_string_prefix; show_prefix 79 tools/perf/trace/beauty/fcntl.c return fcntl__scnprintf_getfd(arg->val, bf, size, show_prefix); show_prefix 82 tools/perf/trace/beauty/fcntl.c return open__scnprintf_flags(arg->val, bf, size, show_prefix); show_prefix 88 tools/perf/trace/beauty/fcntl.c return fcntl__scnprintf_getlease(arg->val, bf, size, show_prefix); show_prefix 25 tools/perf/trace/beauty/flock.c bool show_prefix = arg->show_string_prefix; show_prefix 33 tools/perf/trace/beauty/flock.c printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #cmd); \ show_prefix 12 tools/perf/trace/beauty/fsmount.c static size_t fsmount__scnprintf_attr_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) show_prefix 19 tools/perf/trace/beauty/fsmount.c printed += strarray__scnprintf_flags(&strarray__fsmount_attr_flags, bf, size, show_prefix, flags); show_prefix 23 tools/perf/trace/beauty/fsmount.c printed ? "|" : "", show_prefix ? "MOUNT_ATTR_" : "", "RELATIME"); show_prefix 11 tools/perf/trace/beauty/fspick.c static size_t fspick__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) show_prefix 16 tools/perf/trace/beauty/fspick.c return strarray__scnprintf_flags(&strarray__fspick_flags, bf, size, show_prefix, flags); show_prefix 22 tools/perf/trace/beauty/futex_op.c bool show_prefix = arg->show_string_prefix; show_prefix 37 tools/perf/trace/beauty/futex_op.c #define P_FUTEX_OP(n) case FUTEX_##n: printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", #n); show_prefix 55 tools/perf/trace/beauty/futex_op.c printed += scnprintf(bf + printed, size - printed, "|%s%s", show_prefix ? prefix : "", "PRIVATE_FLAG"); show_prefix 58 tools/perf/trace/beauty/futex_op.c printed += scnprintf(bf + printed, size - printed, "|%s%s", show_prefix ? prefix : "", "CLOCK_REALTIME"); show_prefix 126 tools/perf/trace/beauty/ioctl.c static size_t ioctl__scnprintf_cmd(unsigned long cmd, char *bf, size_t size, bool show_prefix) show_prefix 158 tools/perf/trace/beauty/ioctl.c printed += scnprintf(bf + printed, size - printed, "%s%s", show_prefix ? prefix : "", "NONE"); show_prefix 161 tools/perf/trace/beauty/ioctl.c printed += scnprintf(bf + printed, size - printed, "%s%s", show_prefix ? prefix : "", "READ"); show_prefix 164 tools/perf/trace/beauty/ioctl.c show_prefix ? prefix : "", "WRITE"); show_prefix 29 tools/perf/trace/beauty/kcmp.c static size_t kcmp__scnprintf_type(int type, char *bf, size_t size, bool show_prefix) show_prefix 32 tools/perf/trace/beauty/kcmp.c return strarray__scnprintf(&strarray__kcmp_types, bf, size, "%d", show_prefix, type); show_prefix 10 tools/perf/trace/beauty/mmap.c bool show_prefix = arg->show_string_prefix; show_prefix 13 tools/perf/trace/beauty/mmap.c return scnprintf(bf, size, "%sNONE", show_prefix ? prot_prefix : ""); show_prefix 16 tools/perf/trace/beauty/mmap.c printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prot_prefix :"", #n); \ show_prefix 36 tools/perf/trace/beauty/mmap.c static size_t mmap__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) show_prefix 41 tools/perf/trace/beauty/mmap.c return strarray__scnprintf_flags(&strarray__mmap_flags, bf, size, show_prefix, flags); show_prefix 61 tools/perf/trace/beauty/mmap.c bool show_prefix = arg->show_string_prefix; show_prefix 66 tools/perf/trace/beauty/mmap.c printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? flags_prefix : "", #n); \ show_prefix 25 tools/perf/trace/beauty/mode_t.c bool show_prefix = arg->show_string_prefix; show_prefix 31 tools/perf/trace/beauty/mode_t.c printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ show_prefix 14 tools/perf/trace/beauty/mount_flags.c static size_t mount__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) show_prefix 19 tools/perf/trace/beauty/mount_flags.c return strarray__scnprintf_flags(&strarray__mount_flags, bf, size, show_prefix, flags); show_prefix 11 tools/perf/trace/beauty/move_mount.c static size_t move_mount__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) show_prefix 16 tools/perf/trace/beauty/move_mount.c return strarray__scnprintf_flags(&strarray__move_mount_flags, bf, size, show_prefix, flags); show_prefix 24 tools/perf/trace/beauty/msg_flags.c bool show_prefix = arg->show_string_prefix; show_prefix 32 tools/perf/trace/beauty/msg_flags.c printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ show_prefix 25 tools/perf/trace/beauty/open_flags.c size_t open__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) show_prefix 31 tools/perf/trace/beauty/open_flags.c printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", "RDONLY"); show_prefix 36 tools/perf/trace/beauty/open_flags.c printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ show_prefix 63 tools/perf/trace/beauty/open_flags.c printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", "SYNC"); show_prefix 21 tools/perf/trace/beauty/perf_event_open.c bool show_prefix = arg->show_string_prefix; show_prefix 30 tools/perf/trace/beauty/perf_event_open.c printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ show_prefix 12 tools/perf/trace/beauty/pkey_alloc.c size_t strarray__scnprintf_flags(struct strarray *sa, char *bf, size_t size, bool show_prefix, unsigned long flags) show_prefix 19 tools/perf/trace/beauty/pkey_alloc.c return scnprintf(bf, size, "%s%s", show_prefix ? sa->prefix : "", s); show_prefix 33 tools/perf/trace/beauty/pkey_alloc.c printed += scnprintf(bf + printed, size - printed, "%s%s", show_prefix ? sa->prefix : "", sa->entries[i]); show_prefix 41 tools/perf/trace/beauty/pkey_alloc.c static size_t pkey_alloc__scnprintf_access_rights(int access_rights, char *bf, size_t size, bool show_prefix) show_prefix 46 tools/perf/trace/beauty/pkey_alloc.c return strarray__scnprintf_flags(&strarray__pkey_alloc_access_rights, bf, size, show_prefix, access_rights); show_prefix 14 tools/perf/trace/beauty/prctl.c static size_t prctl__scnprintf_option(int option, char *bf, size_t size, bool show_prefix) show_prefix 17 tools/perf/trace/beauty/prctl.c return strarray__scnprintf(&strarray__prctl_options, bf, size, "%d", show_prefix, option); show_prefix 20 tools/perf/trace/beauty/prctl.c static size_t prctl__scnprintf_set_mm(int option, char *bf, size_t size, bool show_prefix) show_prefix 23 tools/perf/trace/beauty/prctl.c return strarray__scnprintf(&strarray__prctl_set_mm_options, bf, size, "%d", show_prefix, option); show_prefix 6 tools/perf/trace/beauty/renameat.c static size_t renameat2__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) show_prefix 11 tools/perf/trace/beauty/renameat.c return strarray__scnprintf_flags(&strarray__rename_flags, bf, size, show_prefix, flags); show_prefix 20 tools/perf/trace/beauty/sched_policy.c bool show_prefix = arg->show_string_prefix; show_prefix 31 tools/perf/trace/beauty/sched_policy.c printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", policies[policy]); show_prefix 37 tools/perf/trace/beauty/sched_policy.c printed += scnprintf(bf + printed, size - printed, "|%s%s", show_prefix ? prefix : "", #n); \ show_prefix 11 tools/perf/trace/beauty/seccomp.c bool show_prefix = arg->show_string_prefix; show_prefix 17 tools/perf/trace/beauty/seccomp.c #define P_SECCOMP_SET_MODE_OP(n) case SECCOMP_SET_MODE_##n: printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", #n); break show_prefix 36 tools/perf/trace/beauty/seccomp.c bool show_prefix = arg->show_string_prefix; show_prefix 42 tools/perf/trace/beauty/seccomp.c printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ show_prefix 6 tools/perf/trace/beauty/signum.c bool show_prefix = arg->show_string_prefix; show_prefix 11 tools/perf/trace/beauty/signum.c #define P_SIGNUM(n) case SIG##n: return scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", #n) show_prefix 12 tools/perf/trace/beauty/socket.c static size_t socket__scnprintf_ipproto(int protocol, char *bf, size_t size, bool show_prefix) show_prefix 17 tools/perf/trace/beauty/socket.c return strarray__scnprintf(&strarray__socket_ipproto, bf, size, "%d", show_prefix, protocol); show_prefix 23 tools/perf/trace/beauty/socket_type.c bool show_prefix = arg->show_string_prefix; show_prefix 34 tools/perf/trace/beauty/socket_type.c #define P_SK_TYPE(n) case SOCK_##n: printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", #n); break; show_prefix 16 tools/perf/trace/beauty/statx.c bool show_prefix = arg->show_string_prefix; show_prefix 21 tools/perf/trace/beauty/statx.c return scnprintf(bf, size, "%s%s", show_prefix ? "AT_STATX_" : "", "SYNC_AS_STAT"); show_prefix 24 tools/perf/trace/beauty/statx.c printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ show_prefix 46 tools/perf/trace/beauty/statx.c bool show_prefix = arg->show_string_prefix; show_prefix 52 tools/perf/trace/beauty/statx.c printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ show_prefix 12 tools/perf/trace/beauty/sync_file_range.c static size_t sync_file_range__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) show_prefix 19 tools/perf/trace/beauty/sync_file_range.c printed += scnprintf(bf + printed, size - printed, "%s%s", show_prefix ? "SYNC_FILE_RANGE_" : "", "WRITE_AND_WAIT"); show_prefix 23 tools/perf/trace/beauty/sync_file_range.c return printed + strarray__scnprintf_flags(&strarray__sync_file_range_flags, bf + printed, size - printed, show_prefix, flags); show_prefix 8 tools/perf/trace/beauty/waitid_options.c bool show_prefix = arg->show_string_prefix; show_prefix 14 tools/perf/trace/beauty/waitid_options.c printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \