[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] xenctx: Clean up stack trace when hypercall_page not in symbol table
commit 26df1850758cdf8b160df31011331a97aa3e5b09 Author: Don Slutz <Don@xxxxxxxxxxxxxxx> AuthorDate: Thu Apr 3 15:06:53 2014 -0400 Commit: Ian Campbell <ian.campbell@xxxxxxxxxx> CommitDate: Fri Apr 4 09:28:06 2014 +0100 xenctx: Clean up stack trace when hypercall_page not in symbol table Before: Call Trace: [<ffffffff8006b2b0>] default_idle+0x29 <-- [<ffffffff80048d19>] cpu_idle+0x95 [<ffffffff803e7801>] start_kernel+0x220 [<0000000000000000>] startup_64+0x80000000 [<ffffffff803e722f>] x86_64_start_kernel+0x22f [<0000000000000000>] startup_64+0x80000000 [<0000000000000000>] startup_64+0x80000000 [<0000000000000000>] startup_64+0x80000000 [<0000000000000000>] startup_64+0x80000000 After: Call Trace: [<ffffffff8006b2b0>] default_idle+0x29 <-- [<ffffffff80048d19>] cpu_idle+0x95 [<ffffffff803e7801>] start_kernel+0x220 [<ffffffff803e722f>] x86_64_start_kernel+0x22f Signed-off-by: Don Slutz <Don@xxxxxxxxxxxxxxx> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Acked-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx> --- tools/xentrace/xenctx.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/xentrace/xenctx.c b/tools/xentrace/xenctx.c index 889f788..134cf55 100644 --- a/tools/xentrace/xenctx.c +++ b/tools/xentrace/xenctx.c @@ -85,8 +85,9 @@ static int is_kernel_text(guest_word_t addr) if (addr >= kernel_stext && addr <= kernel_etext) return 1; - if (addr >= kernel_hypercallpage && - addr <= kernel_hypercallpage + 4096) + if ( kernel_hypercallpage && + (addr >= kernel_hypercallpage && + addr <= kernel_hypercallpage + 4096) ) return 1; if (addr >= kernel_sinittext && addr <= kernel_einittext) -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |