Systemtap stapconf header is not generated

Bug #1827819 reported by ed20900
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemtap (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I upgraded from Ubuntu 18.10 to Ubuntu 19.04. Systemtap does not compile scripts any more. It reports that stapconf_[random].h header file does not exist. The Makefile in /tmp/stap[random]/ does exist, but for some reason the C header is not being generated.

The systemtap script I am using contains the following probes:

global p_count = 0
    probe kprocess.create {
        p_count += 1
        //printf("Process: %s - PID: %d - Created PID: %d - Created TID: %d - Parent process: %d - Parent name: %s - Processes created: %d\n",execname(),pid(),new_pid,new_tid,ppid(),pid2execname(ppid()),p_count)
    }

    probe socket.create {
        printf("Process socket: %s - PID: %d - Parent process: %s - PPID: %d\n",execname(),pid(),pid2execname(ppid()),ppid())
    }

It worked in Ubuntu 18.10. But not in 19.04. I have compiled Systemtap 4.0 from source and reports the same error.

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: systemtap (not installed)
ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
Uname: Linux 5.0.0-13-generic x86_64
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon May 6 02:34:47 2019
InstallationDate: Installed on 2014-06-05 (1795 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: systemtap
UpgradeStatus: Upgraded to disco on 2019-05-03 (2 days ago)

Revision history for this message
ed20900 (ed20900) wrote :
Revision history for this message
ed20900 (ed20900) wrote :

Error.txt contains the verbose output of the stap command: stap --disable-cache --vp 0055 -p4 -m vigila.ko vigila.stp

Revision history for this message
Frank Ch. Eigler (fche) wrote :

commit eb8c8de940cb5e9256323e67a1757f9a45afed8c
Author: Frank Ch. Eigler <email address hidden>
Date: Sat Feb 2 14:50:32 2019 -0600

    linux 5.0-rc3 adaptations

should help

We're planning to release stap 4.1 within days, with this fix (and including up to kernel 5.1 support).

Revision history for this message
ed20900 (ed20900) wrote :

Ok thanks. I'll download that release when it's available then.

Revision history for this message
ed20900 (ed20900) wrote :

Downloaded and compiled Systemtap 4.1.

It works.

Revision history for this message
Emanuele Rocca (ema) wrote :

focal will ship with systemtap 4.2-3, fixing this.

Changed in systemtap (Ubuntu):
status: New → Fix Committed
Emanuele Rocca (ema)
Changed in systemtap (Ubuntu):
status: Fix Committed → Fix Released
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.