Home
last modified time | relevance | path

Searched refs:LEN_OR_ZERO (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/kernel/trace/
Dtrace_events_user.c673 #define LEN_OR_ZERO (len ? len - pos : 0) macro
683 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_dyn_field_set_string()
685 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", argv[i]); in user_dyn_field_set_string()
706 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", field->type); in user_field_set_string()
707 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_field_set_string()
708 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", field->name); in user_field_set_string()
711 pos += snprintf(buf + pos, LEN_OR_ZERO, ";"); in user_field_set_string()
723 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in user_event_set_print_fmt()
727 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_event_set_print_fmt()
729 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s=%s", in user_event_set_print_fmt()
[all …]
Dtrace_probe.c873 #define LEN_OR_ZERO (len ? len - pos : 0) macro
900 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", fmt); in __set_print_fmt()
904 pos += snprintf(buf + pos, LEN_OR_ZERO, " %s=", parg->name); in __set_print_fmt()
906 pos += snprintf(buf + pos, LEN_OR_ZERO, "{%s", in __set_print_fmt()
909 pos += snprintf(buf + pos, LEN_OR_ZERO, ",%s", in __set_print_fmt()
911 pos += snprintf(buf + pos, LEN_OR_ZERO, "}"); in __set_print_fmt()
913 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", in __set_print_fmt()
917 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", arg); in __set_print_fmt()
928 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt()
936 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt()
[all …]
Dtrace_syscalls.c216 #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()
Dtrace_events_synth.c548 #define LEN_OR_ZERO (len ? len - pos : 0) in __set_synth_event_print_fmt() macro
550 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt()
553 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s=%s%s", in __set_synth_event_print_fmt()
557 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt()
562 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt()
565 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt()
569 #undef LEN_OR_ZERO in __set_synth_event_print_fmt()