Home
last modified time | relevance | path

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

/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, " %d", field->size); in user_field_set_string()
714 pos += snprintf(buf + pos, LEN_OR_ZERO, ";"); in user_field_set_string()
726 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in user_event_set_print_fmt()
730 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_event_set_print_fmt()
[all …]
Dtrace_probe.c889 #define LEN_OR_ZERO (len ? len - pos : 0) macro
916 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", fmt); in __set_print_fmt()
920 pos += snprintf(buf + pos, LEN_OR_ZERO, " %s=", parg->name); in __set_print_fmt()
922 pos += snprintf(buf + pos, LEN_OR_ZERO, "{%s", in __set_print_fmt()
925 pos += snprintf(buf + pos, LEN_OR_ZERO, ",%s", in __set_print_fmt()
927 pos += snprintf(buf + pos, LEN_OR_ZERO, "}"); in __set_print_fmt()
929 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", in __set_print_fmt()
933 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", arg); in __set_print_fmt()
943 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt()
950 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.c631 #define LEN_OR_ZERO (len ? len - pos : 0) in __set_synth_event_print_fmt() macro
633 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt()
636 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s=%s%s", in __set_synth_event_print_fmt()
640 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt()
645 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt()
648 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt()
651 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt()
655 #undef LEN_OR_ZERO in __set_synth_event_print_fmt()