Searched refs:LEN_OR_ZERO (Results 1 – 4 of 4) sorted by relevance
| /Linux-v6.6/kernel/trace/ |
| 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()
|
| D | trace_events_user.c | 1321 #define LEN_OR_ZERO (len ? len - pos : 0) macro 1331 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_dyn_field_set_string() 1333 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", argv[i]); in user_dyn_field_set_string() 1354 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", field->type); in user_field_set_string() 1355 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_field_set_string() 1356 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", field->name); in user_field_set_string() 1359 pos += snprintf(buf + pos, LEN_OR_ZERO, " %d", field->size); in user_field_set_string() 1362 pos += snprintf(buf + pos, LEN_OR_ZERO, ";"); in user_field_set_string() 1374 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in user_event_set_print_fmt() 1378 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_event_set_print_fmt() [all …]
|
| D | trace_probe.c | 1608 #define LEN_OR_ZERO (len ? len - pos : 0) macro 1635 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", fmt); in __set_print_fmt() 1639 pos += snprintf(buf + pos, LEN_OR_ZERO, " %s=", parg->name); in __set_print_fmt() 1641 pos += snprintf(buf + pos, LEN_OR_ZERO, "{%s", in __set_print_fmt() 1644 pos += snprintf(buf + pos, LEN_OR_ZERO, ",%s", in __set_print_fmt() 1646 pos += snprintf(buf + pos, LEN_OR_ZERO, "}"); in __set_print_fmt() 1648 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", in __set_print_fmt() 1652 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", arg); in __set_print_fmt() 1662 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt() 1669 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt() [all …]
|
| D | trace_events_synth.c | 614 #define LEN_OR_ZERO (len ? len - pos : 0) in __set_synth_event_print_fmt() macro 616 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt() 619 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s=%s%s", in __set_synth_event_print_fmt() 623 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() 631 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt() 634 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt() 638 #undef LEN_OR_ZERO in __set_synth_event_print_fmt()
|