From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28290 invoked by alias); 3 Feb 2015 18:44:27 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 28201 invoked by uid 48); 3 Feb 2015 18:44:23 -0000 From: "brendan.d.gregg at gmail dot com" To: systemtap@sourceware.org Subject: [Bug runtime/17921] New: kernel backtrace missing /proc/kallsyms symbols Date: Tue, 03 Feb 2015 18:44:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: brendan.d.gregg at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q1/txt/msg00103.txt.bz2 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.