Searched refs:info_source (Results 1 – 2 of 2) sorted by relevance
/external/iproute2/misc/ |
D | nstat.c | 43 char info_source[128]; variable 127 if (info_source[0] && strcmp(info_source, buf+1)) in load_good_table() 129 info_source[0] = 0; in load_good_table() 130 strncat(info_source, buf+1, sizeof(info_source)-1); in load_good_table() 262 fprintf(fp, "#%s\n", info_source); in dump_kern_db() 287 fprintf(fp, "#%s\n", info_source); in dump_incr_db() 377 sprintf(info_source, "%d.%lu sampling_interval=%d time_const=%d", in server_loop() 596 if (hist_db && info_source[0] && strcmp(info_source, "kernel")) { in main() 599 info_source[0] = 0; in main() 604 if (info_source[0] == 0) in main() [all …]
|
D | ifstat.c | 49 char info_source[128]; variable 162 if (info_source[0] && strcmp(info_source, buf+1)) in load_raw_table() 164 strncpy(info_source, buf+1, sizeof(info_source)-1); in load_raw_table() 216 fprintf(fp, "#%s\n", info_source); in dump_raw_db() 289 fprintf(fp, "#%s\n", info_source); in print_head() 492 sprintf(info_source, "%d.%lu sampling_interval=%d time_const=%d", in server_loop() 744 if (hist_db && info_source[0] && strcmp(info_source, "kernel")) { in main() 747 info_source[0] = 0; in main() 750 if (info_source[0] == 0) in main() 751 strcpy(info_source, "kernel"); in main()
|