Searched refs:LEN_OR_ZERO (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/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 | 1340 #define LEN_OR_ZERO (len ? len - pos : 0) macro 1350 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_dyn_field_set_string() 1374 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_field_set_string() 1381 pos += snprintf(buf + pos, LEN_OR_ZERO, ";"); in user_field_set_string() 1393 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in user_event_set_print_fmt() 1397 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_event_set_print_fmt() 1399 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s=%s", in user_event_set_print_fmt() 1405 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in user_event_set_print_fmt() 1409 pos += snprintf(buf + pos, LEN_OR_ZERO, in user_event_set_print_fmt() 1412 pos += snprintf(buf + pos, LEN_OR_ZERO, in user_event_set_print_fmt() [all …]
|
| H A D | trace_probe.c | 1867 #define LEN_OR_ZERO (len ? len - pos : 0) macro 1894 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", fmt); in __set_print_fmt() 1898 pos += snprintf(buf + pos, LEN_OR_ZERO, " %s=", parg->name); in __set_print_fmt() 1900 pos += snprintf(buf + pos, LEN_OR_ZERO, "{%s", in __set_print_fmt() 1903 pos += snprintf(buf + pos, LEN_OR_ZERO, ",%s", in __set_print_fmt() 1905 pos += snprintf(buf + pos, LEN_OR_ZERO, "}"); in __set_print_fmt() 1907 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", in __set_print_fmt() 1911 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", arg); in __set_print_fmt() 1921 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt() 1928 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt() [all …]
|
| H A D | trace_events_synth.c | 607 #define LEN_OR_ZERO (len ? len - pos : 0) in __set_synth_event_print_fmt() macro 609 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt() 612 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s=%s%s", in __set_synth_event_print_fmt() 616 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt() 621 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt() 624 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt() 627 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt() 631 #undef LEN_OR_ZERO in __set_synth_event_print_fmt()
|