Searched refs:LEN_OR_ZERO (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/kernel/trace/ |
| D | trace_probe.c | 840 #define LEN_OR_ZERO (len ? len - pos : 0) macro 857 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", fmt); in __set_print_fmt() 861 pos += snprintf(buf + pos, LEN_OR_ZERO, " %s=", parg->name); in __set_print_fmt() 863 pos += snprintf(buf + pos, LEN_OR_ZERO, "{%s", in __set_print_fmt() 866 pos += snprintf(buf + pos, LEN_OR_ZERO, ",%s", in __set_print_fmt() 868 pos += snprintf(buf + pos, LEN_OR_ZERO, "}"); in __set_print_fmt() 870 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", in __set_print_fmt() 874 pos += snprintf(buf + pos, LEN_OR_ZERO, "\", %s", arg); in __set_print_fmt() 884 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt() 891 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt() [all …]
|
| D | trace_syscalls.c | 214 #define LEN_OR_ZERO (len ? len - pos : 0) in __set_enter_print_fmt() macro 216 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_enter_print_fmt() 218 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s: 0x%%0%zulx%s", in __set_enter_print_fmt() 222 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_enter_print_fmt() 225 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_enter_print_fmt() 229 #undef LEN_OR_ZERO in __set_enter_print_fmt()
|
| D | trace_events_hist.c | 940 #define LEN_OR_ZERO (len ? len - pos : 0) in __set_synth_event_print_fmt() macro 942 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt() 945 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s=%s%s", in __set_synth_event_print_fmt() 949 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt() 952 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt() 956 #undef LEN_OR_ZERO in __set_synth_event_print_fmt()
|