Searched refs:LEN_OR_ZERO (Results 1 – 3 of 3) sorted by relevance
/linux/kernel/trace/ |
A D | trace_probe.c | 860 #define LEN_OR_ZERO (len ? len - pos : 0) macro 887 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", fmt); in __set_print_fmt() 891 pos += snprintf(buf + pos, LEN_OR_ZERO, " %s=", parg->name); in __set_print_fmt() 893 pos += snprintf(buf + pos, LEN_OR_ZERO, "{%s", in __set_print_fmt() 896 pos += snprintf(buf + pos, LEN_OR_ZERO, ",%s", in __set_print_fmt() 898 pos += snprintf(buf + pos, LEN_OR_ZERO, "}"); in __set_print_fmt() 900 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", in __set_print_fmt() 904 pos += snprintf(buf + pos, LEN_OR_ZERO, "\", %s", arg); in __set_print_fmt() 915 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt() 923 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt() [all …]
|
A D | trace_syscalls.c | 218 #define LEN_OR_ZERO (len ? len - pos : 0) in __set_enter_print_fmt() macro 220 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_enter_print_fmt() 222 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s: 0x%%0%zulx%s", in __set_enter_print_fmt() 226 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_enter_print_fmt() 229 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_enter_print_fmt() 233 #undef LEN_OR_ZERO in __set_enter_print_fmt()
|
A D | trace_events_synth.c | 529 #define LEN_OR_ZERO (len ? len - pos : 0) in __set_synth_event_print_fmt() macro 531 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt() 534 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s=%s%s", in __set_synth_event_print_fmt() 538 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in __set_synth_event_print_fmt() 543 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt() 546 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_synth_event_print_fmt() 550 #undef LEN_OR_ZERO in __set_synth_event_print_fmt()
|
Completed in 11 milliseconds