Searched refs:LEN_OR_ZERO (Results 1 – 4 of 4) sorted by relevance
/openbmc/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_events_user.c | 1322 #define LEN_OR_ZERO (len ? len - pos : 0) macro 1332 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_dyn_field_set_string() 1334 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", argv[i]); in user_dyn_field_set_string() 1355 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", field->type); in user_field_set_string() 1356 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_field_set_string() 1357 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", field->name); in user_field_set_string() 1360 pos += snprintf(buf + pos, LEN_OR_ZERO, " %d", field->size); in user_field_set_string() 1363 pos += snprintf(buf + pos, LEN_OR_ZERO, ";"); in user_field_set_string() 1375 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in user_event_set_print_fmt() 1379 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_event_set_print_fmt() [all …]
|
H A D | trace_probe.c | 1742 #define LEN_OR_ZERO (len ? len - pos : 0) macro 1769 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", fmt); in __set_print_fmt() 1773 pos += snprintf(buf + pos, LEN_OR_ZERO, " %s=", parg->name); in __set_print_fmt() 1775 pos += snprintf(buf + pos, LEN_OR_ZERO, "{%s", in __set_print_fmt() 1778 pos += snprintf(buf + pos, LEN_OR_ZERO, ",%s", in __set_print_fmt() 1780 pos += snprintf(buf + pos, LEN_OR_ZERO, "}"); in __set_print_fmt() 1782 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", in __set_print_fmt() 1786 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", arg); in __set_print_fmt() 1796 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt() 1803 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt() [all …]
|
H A D | trace_events_synth.c | 615 #define LEN_OR_ZERO (len ? len - pos : 0) in __set_synth_event_print_fmt() macro 617 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt() 620 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s=%s%s", in __set_synth_event_print_fmt() 624 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt() 629 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt() 632 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt() 635 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt() 639 #undef LEN_OR_ZERO in __set_synth_event_print_fmt()
|