Searched refs:LEN_OR_ZERO (Results 1 – 2 of 2) sorted by relevance
| /linux/kernel/trace/ |
| 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() 1352 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", argv[i]); in user_dyn_field_set_string() 1373 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", field->type); in user_field_set_string() 1374 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_field_set_string() 1375 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", field->name); in user_field_set_string() 1378 pos += snprintf(buf + pos, LEN_OR_ZERO, " %d", field->size); 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() [all …]
|
| H A D | trace_probe.c | 1901 #define LEN_OR_ZERO (len ? len - pos : 0) macro 1928 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", fmt); in __set_print_fmt() 1932 pos += snprintf(buf + pos, LEN_OR_ZERO, " %s=", parg->name); in __set_print_fmt() 1934 pos += snprintf(buf + pos, LEN_OR_ZERO, "{%s", in __set_print_fmt() 1937 pos += snprintf(buf + pos, LEN_OR_ZERO, ",%s", in __set_print_fmt() 1939 pos += snprintf(buf + pos, LEN_OR_ZERO, "}"); in __set_print_fmt() 1941 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", in __set_print_fmt() 1945 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", arg); in __set_print_fmt() 1955 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt() 1962 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt() [all …]
|