From 31a60e22752d3daaa248ca10930f3cf4bc5f02e8 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Fri, 26 Oct 2007 18:42:59 +0000 Subject: Make Slirp statistics gathering and output conditional to LOG_ENABLED Add 'info slirp' command to monitor to display statistics Disable Slirp debugging code by default git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3451 c046a42c-6fe2-441c-8c8c-71466251a162 --- monitor.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'monitor.c') diff --git a/monitor.c b/monitor.c index 65f23b4e99..ac0c8e8728 100644 --- a/monitor.c +++ b/monitor.c @@ -1364,6 +1364,10 @@ static term_cmd_t info_cmds[] = { #if defined(TARGET_PPC) { "cpustats", "", do_info_cpu_stats, "", "show CPU statistics", }, +#endif +#if defined(CONFIG_SLIRP) + { "slirp", "", do_info_slirp, + "", "show SLIRP statistics", }, #endif { NULL, NULL, }, }; -- cgit v1.2.3