Searched refs:LEN_OR_ZERO (Results 1 – 3 of 3) sorted by relevance
/linux/kernel/trace/ |
H A D | trace_syscalls.c | 216 #define LEN_OR_ZERO (len ? len - pos : 0) in __set_enter_print_fmt() macro 218 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_enter_print_fmt() 220 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s: 0x%%0%zulx%s", in __set_enter_print_fmt() 224 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_enter_print_fmt() 227 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_enter_print_fmt() 231 #undef LEN_OR_ZERO in __set_enter_print_fmt()
|
H A D | trace_probe.c | 1830 #define LEN_OR_ZERO (len ? len - pos : 0) macro 1857 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", fmt); in __set_print_fmt() 1861 pos += snprintf(buf + pos, LEN_OR_ZERO, " %s=", parg->name); in __set_print_fmt() 1863 pos += snprintf(buf + pos, LEN_OR_ZERO, "{%s", in __set_print_fmt() 1866 pos += snprintf(buf + pos, LEN_OR_ZERO, ",%s", in __set_print_fmt() 1868 pos += snprintf(buf + pos, LEN_OR_ZERO, "}"); in __set_print_fmt() 1870 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", in __set_print_fmt() 1874 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", arg); in __set_print_fmt() 1884 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt() 1891 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt() [all …]
|
H A D | trace_events_synth.c | 608 #define LEN_OR_ZERO (len ? len - pos : 0) in __set_synth_event_print_fmt() macro 610 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt() 613 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s=%s%s", in __set_synth_event_print_fmt() 617 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt() 622 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt() 625 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt() 628 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt() 632 #undef LEN_OR_ZERO in __set_synth_event_print_fmt()
|