[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xen pm trace utility cleanup
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1250684261 -3600 # Node ID 902f4ae65123813aaf660d3b8cf81eb5ba0fa6ff # Parent 9001528d987e1627b37d722af0427e9679ec2300 xen pm trace utility cleanup xenpm trace utility gtraceview cleanup - add gtraceview help info on how to get raw data by xentrace - make trace_exit_reason compiled in non-debug mode. trace_exit_reason can be enable/disabled by xentrace at runtime, so no need to disable it at build time. Signed-off-by: Yu Ke <ke.yu@xxxxxxxxx> --- tools/misc/gtracestat.c | 2 +- tools/misc/gtraceview.c | 3 ++- xen/arch/x86/acpi/cpu_idle.c | 2 -- 3 files changed, 3 insertions(+), 4 deletions(-) diff -r 9001528d987e -r 902f4ae65123 tools/misc/gtracestat.c --- a/tools/misc/gtracestat.c Wed Aug 19 13:16:50 2009 +0100 +++ b/tools/misc/gtracestat.c Wed Aug 19 13:17:41 2009 +0100 @@ -442,7 +442,7 @@ void show_help(void) { show_version(); printf("tracestat <trace.data> [-vhdselbcmau]\n"); - printf(" trace.data raw data from xentrace\n"); + printf(" trace.data raw data got by 'xentrace -e 0x80f000 trace.dat'\n"); printf(" -v / --version show version message\n"); printf(" -h / --help show this message\n"); printf(" -d / --digest digest mode, more variables to specify.\n"); diff -r 9001528d987e -r 902f4ae65123 tools/misc/gtraceview.c --- a/tools/misc/gtraceview.c Wed Aug 19 13:16:50 2009 +0100 +++ b/tools/misc/gtraceview.c Wed Aug 19 13:17:41 2009 +0100 @@ -542,7 +542,8 @@ void show_help(void) { show_version(); printf("gtraceview <trace.data> [--version] [--help]\n"); - printf(" trace.data raw data from xentrace\n"); + printf(" trace.data raw data got by " + "'xentrace -e 0x80f000 trace.dat'\n"); printf(" --version show version information\n"); printf(" --help show this message\n"); printf("For more help messages, please press 'h' in the window\n"); diff -r 9001528d987e -r 902f4ae65123 xen/arch/x86/acpi/cpu_idle.c --- a/xen/arch/x86/acpi/cpu_idle.c Wed Aug 19 13:16:50 2009 +0100 +++ b/xen/arch/x86/acpi/cpu_idle.c Wed Aug 19 13:17:41 2009 +0100 @@ -198,7 +198,6 @@ static struct { static inline void trace_exit_reason(u32 *irq_traced) { -#ifdef DEBUG if ( unlikely(tb_init_done) ) { int i, curbit; @@ -215,7 +214,6 @@ static inline void trace_exit_reason(u32 curbit = find_next_bit((const unsigned long *)irr_status, 256, curbit + 1); } } -#endif } static void acpi_processor_idle(void) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |