public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/17921] New: kernel backtrace missing /proc/kallsyms symbols
@ 2015-02-03 18:44 brendan.d.gregg at gmail dot com
  2015-09-09 17:38 ` [Bug runtime/17921] " flu at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: brendan.d.gregg at gmail dot com @ 2015-02-03 18:44 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=17921

            Bug ID: 17921
           Summary: kernel backtrace missing /proc/kallsyms symbols
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: brendan.d.gregg at gmail dot com

Profiling kernel stack traces shows hex addresses:

# stap --all-modules -ve 'global s; probe timer.profile { s[backtrace()] <<< 1;
} probe end { foreach (i in s+) { print_stack(i); printf("\t%d\n",
@count(s[i])); } }'
Pass 1: parsed user script and 102 library script(s) using
152856virt/28460res/2156shr/27052data kb, in 140usr/30sys/165real ms.
Pass 2: analyzed script: 2 probe(s), 6 function(s), 4 embed(s), 1 global(s)
using 154056virt/30500res/2972shr/28252data kb, in 10usr/110sys/125real ms.
WARNING: missing unwind/symbol data for module 'kernel'
Pass 3: translated to C into
"/tmp/staprDrjyS/stap_ad1e5b386c49b6c6eb4d3be0af23f502_4294_src.c" using
154172virt/31012res/3348shr/28368data kb, in 140usr/110sys/537real ms.
Pass 4: compiled C into "stap_ad1e5b386c49b6c6eb4d3be0af23f502_4294.ko" in
1850usr/740sys/2511real ms.
Pass 5: starting run.
 ^C 0xffffffff810013aa : 0xffffffff810013aa
 0xffffffff8100a190 : 0xffffffff8100a190
 0xffffffff8101e39d : 0xffffffff8101e39d
 0xffffffff8101dc59 : 0xffffffff8101dc59
 0xffffffff8100a979 : 0xffffffff8100a979
 0xffffffff815841c9 : 0xffffffff815841c9
    250
 0xffffffff810013aa : 0xffffffff810013aa
 0xffffffff8100a190 : 0xffffffff8100a190
 0xffffffff8101e39d : 0xffffffff8101e39d
 0xffffffff8101dc59 : 0xffffffff8101dc59
 0xffffffff8157f825 : 0xffffffff8157f825
 0xffffffff819d1f28 : 0xffffffff819d1f28
 0xffffffff819d1964 : 0xffffffff819d1964
 0xffffffff819d1356 : 0xffffffff819d1356
 0xffffffff819d528b : 0xffffffff819d528b
    466
# stap -V
Systemtap translator/driver (version 2.6/0.152, commit
release-2.5-197-gcf88ea804213)
Copyright (C) 2005-2014 Red Hat, Inc. and others
This is free software; see the source for copying conditions.enabled features:
TR1_UNORDERED_MAP NLS

This system does not have kernel debuginfo. However, the symbols printed can be
found in /proc/kallsyms, such that I can do some human (or scripted)
post-translation of this output. SystemTap should use /proc/kallsyms
translation, when dwarf unwind is unavailable.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug runtime/17921] kernel backtrace missing /proc/kallsyms symbols
  2015-02-03 18:44 [Bug runtime/17921] New: kernel backtrace missing /proc/kallsyms symbols brendan.d.gregg at gmail dot com
@ 2015-09-09 17:38 ` flu at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: flu at redhat dot com @ 2015-09-09 17:38 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=17921

Felix Lu <flu at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |flu at redhat dot com
         Resolution|---                         |FIXED

--- Comment #1 from Felix Lu <flu at redhat dot com> ---
The SystemTap translator now fetches symbols from /proc/kallsyms if debuginfo
is not available.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-09 17:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-03 18:44 [Bug runtime/17921] New: kernel backtrace missing /proc/kallsyms symbols brendan.d.gregg at gmail dot com
2015-09-09 17:38 ` [Bug runtime/17921] " flu at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).