[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 4 of 5] xenalyze: Decrease verbosity
Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx> diff -r a2044b64720b -r 21e56bad8f2c xenalyze.c --- a/xenalyze.c Fri Oct 07 11:33:28 2011 +0100 +++ b/xenalyze.c Fri Oct 07 11:35:45 2011 +0100 @@ -128,6 +128,7 @@ enum error_level { ERR_SYSTEM, /* System error: cannot allocate memory, short read, &c */ }; +int verbosity = 5; struct { unsigned @@ -8163,7 +8164,7 @@ void process_cpu_change(struct pcpu_info struct record_info *ri = &p->ri; struct cpu_change_data *r = (typeof(r))ri->d; - if(opt.dump_all) { + if(opt.dump_all && verbosity >= 6) { printf("]%s cpu_change this-cpu %u record-cpu %u window_size %u(0x%08x)\n", ri->dump_header, p->pid, r->cpu, r->window_size, r->window_size); _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |