Searched refs:info_source (Results 1 – 2 of 2) sorted by relevance
/external/iproute2/misc/ |
D | nstat.c | 48 char info_source[128]; variable 138 if (info_source[0] && strcmp(info_source, buf+1)) in load_good_table() 140 info_source[0] = 0; in load_good_table() 141 strncat(info_source, buf+1, sizeof(info_source)-1); in load_good_table() 305 jsonw_name(jw, info_source); in dump_kern_db() 308 fprintf(fp, "#%s\n", info_source); in dump_kern_db() 352 jsonw_name(jw, info_source); in dump_incr_db() 355 fprintf(fp, "#%s\n", info_source); in dump_incr_db() 463 sprintf(info_source, "%d.%lu sampling_interval=%d time_const=%d", in server_loop() 724 if (hist_db && info_source[0] && strcmp(info_source, "kernel")) { in main() [all …]
|
D | ifstat.c | 56 char info_source[128]; variable 255 if (info_source[0] && strcmp(info_source, buf+1)) in load_raw_table() 257 strncpy(info_source, buf+1, sizeof(info_source)-1); in load_raw_table() 315 jsonw_name(jw, info_source); in dump_raw_db() 318 fprintf(fp, "#%s\n", info_source); in dump_raw_db() 413 fprintf(fp, "#%s\n", info_source); in print_head() 524 jsonw_name(jw, info_source); in dump_kern_db() 555 jsonw_name(jw, info_source); in dump_incr_db() 677 sprintf(info_source, "%d.%lu sampling_interval=%d time_const=%d", in server_loop() 1010 if (hist_db && info_source[0] && strcmp(info_source, "kernel")) { in main() [all …]
|