From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D6AB73858C50; Wed, 21 Feb 2024 14:47:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D6AB73858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1708526824; bh=vB3NEWE+NumZWzkTqEllWuVIXw1msnqz/ceXZj/MdFY=; h=From:To:Subject:Date:From; b=FeFcuWY7GCNPAfUTzfrQSvBmKg6E3yRldhq8x5IasDudH52HwP1WuGOBDqq+xYB/M vIE2JeBQzpGiuk08YNhxY8346VrPYZeC5GyLA3VFUhRaF1z49z4hqh7wlpw9yBZ4cl ddQaSaAvZK+v6kr8+MYc+DnYy2/zYixvGj49FUpo= From: "wcohen at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/31404] New: Systemtap unable to find kernel.trace("*") probe points on Fedora rawhide Linux 6.8 kernels Date: Wed, 21 Feb 2024 14:47:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wcohen at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: 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 target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31404 Bug ID: 31404 Summary: Systemtap unable to find kernel.trace("*") probe points on Fedora rawhide Linux 6.8 kernels Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: translator Assignee: systemtap at sourceware dot org Reporter: wcohen at redhat dot com Target Milestone: --- When reviewing the "make installcheck" results on Fedora rawhide. I found = that a number of the tests using the tracepoint probe points were failing. For example: Running /home/wcohen/systemtap_write/systemtap/testsuite/systemtap.base/bz1027459.e= xp ... spawn stap -wP /home/wcohen/systemtap_write/systemtap/testsuite/systemtap.base/bz1027459.s= tp semantic error: while resolving probe point: identifier 'kernel' at /home/wcohen/systemtap_write/install/share/systemtap/tapset/linux/sysc_clon= e.stp:131:26 source: probe tp_syscall.clone =3D kernel.trace("sys_enter") ^ semantic error: no match Pass 2: analysis failed. [man error::pass2] Number of similar error messages suppressed: 2. Rerun with -v to see them. FAIL: bz1027459 -p5 (0) The probe point can be seen with "perf list tracepoint", but doesn't show up with systemtap: [wcohen@rawhide systemtap]$ uname -a Linux rawhide 6.8.0-0.rc5.41.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Feb 19 14:05:40 UTC 2024 x86_64 GNU/Linux [wcohen@rawhide systemtap]$ sudo perf list tracepoint |grep raw [sudo] password for wcohen:=20 raw_syscalls:sys_enter [Tracepoint event] raw_syscalls:sys_exit [Tracepoint event] [wcohen@rawhide systemtap]$ ../install/bin/stap -L 'kernel.trace("sys_ente= r")' [wcohen@rawhide systemtap]$=20 On Fedora 39 systemtap can find the tracepoints: wcohen@fedora39:~/systemtap_write/systemtap$ uname -a Linux fedora39 6.7.5-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Feb 17 17:2= 0:08 UTC 2024 x86_64 GNU/Linux wcohen@fedora39:~/systemtap_write/systemtap$ sudo perf list tracepoint |grep raw raw_syscalls:sys_enter [Tracepoint event] raw_syscalls:sys_exit [Tracepoint event] wcohen@fedora39:~/systemtap_write/systemtap$ ../install/bin/stap -L 'kernel.trace("sys_enter")' kernel.trace("raw_syscalls:sys_enter") $regs:struct pt_regs* $id:long int --=20 You are receiving this mail because: You are the assignee for the bug.=