reenable full variable debugging information within dbgsyms with gcc vta cflags

Bug #1754078 reported by Daniel Doron
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Wishlist
Unassigned
Bionic
Triaged
Wishlist
Unassigned

Bug Description

Due to ubuntu kernel (Ubuntu 4.13.0-36.40-generic 4.13.13) being compiled with ""-fno-var-tracking-assignments", the debug symbols produced are of lesser quality, i.e. $context variables are not available.

E.g.: (systemtap needs to be installed on the system)

$> stap -L 'kernel.function("reparent_leader")'
kernel.function("reparent_leader@/build/linux-r9581B/linux-4.13.0/kernel/exit.c:632")

on Fedora (Linux 4.15.6-300.fc27.x86_64) the same command gives:
kernel.function("reparent_leader@kernel/exit.c:632") $dead:struct list_head* $p:struct task_struct* $father:struct task_struct*

more info:
SystemTap Release notes (known issues)
https://sourceware.org/ml/systemtap/2017-q4/msg00096.html
---
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: danield 19952 F.... pulseaudio
CurrentDesktop: GNOME
DistroRelease: Ubuntu 17.10
InstallationDate: Installed on 2017-07-31 (220 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
IwConfig:
 enp0s3 no wireless extensions.

 lo no wireless extensions.
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: innotek GmbH VirtualBox
NonfreeKernelModules: stap_7e3a99b3ec7be8c89d4173a1dbad60ef_22636
Package: linux (not installed)
ProcFB: 0 vboxdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-36-generic root=UUID=678323dd-c5f1-46fa-b3d0-dcd8e76f2e59 ro quiet splash
ProcVersionSignature: Ubuntu 4.13.0-36.40-generic 4.13.13
RelatedPackageVersions:
 linux-restricted-modules-4.13.0-36-generic N/A
 linux-backports-modules-4.13.0-36-generic N/A
 linux-firmware 1.169.3
RfKill:

Tags: artful
Uname: Linux 4.13.0-36-generic x86_64
UpgradeStatus: Upgraded to artful on 2018-02-15 (21 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo vboxsf
_MarkForUpload: True
dmi.bios.date: 12/01/2006
dmi.bios.vendor: innotek GmbH
dmi.bios.version: VirtualBox
dmi.board.name: VirtualBox
dmi.board.vendor: Oracle Corporation
dmi.board.version: 1.2
dmi.chassis.type: 1
dmi.chassis.vendor: Oracle Corporation
dmi.modalias: dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:rvnOracleCorporation:rnVirtualBox:rvr1.2:cvnOracleCorporation:ct1:cvr:
dmi.product.family: Virtual Machine
dmi.product.name: VirtualBox
dmi.product.version: 1.2
dmi.sys.vendor: innotek GmbH

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1754078

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: bionic
Changed in linux (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → Wishlist
Revision history for this message
Daniel Doron (danielmeirdoron) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected artful
description: updated
Revision history for this message
Daniel Doron (danielmeirdoron) wrote : CRDA.txt

apport information

Revision history for this message
Daniel Doron (danielmeirdoron) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Daniel Doron (danielmeirdoron) wrote : JournalErrors.txt

apport information

Revision history for this message
Daniel Doron (danielmeirdoron) wrote : Lspci.txt

apport information

Revision history for this message
Daniel Doron (danielmeirdoron) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Daniel Doron (danielmeirdoron) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Daniel Doron (danielmeirdoron) wrote : ProcEnviron.txt

apport information

Revision history for this message
Daniel Doron (danielmeirdoron) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Daniel Doron (danielmeirdoron) wrote : ProcModules.txt

apport information

Revision history for this message
Daniel Doron (danielmeirdoron) wrote : PulseList.txt

apport information

Revision history for this message
Daniel Doron (danielmeirdoron) wrote : UdevDb.txt

apport information

Revision history for this message
Daniel Doron (danielmeirdoron) wrote : WifiSyslog.txt

apport information

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.