From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6E6D73858C83; Wed, 11 Jan 2023 08:44:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6E6D73858C83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673426643; bh=p9cDqfJU0ct62jPL2srkN7IsG7AiRPnc0GIdSd6oE2s=; h=From:To:Subject:Date:From; b=tPTaKHOFRc4K/k+4UFi7UmrpZ2rggrrF8zDreJTyiFvRvnC9bjjcSpjuDLYTF74gs L0CTtwQdweuqc9Am7VgYYlCCm71ZiEwbgfV6K8nAYyDm/wtRe3Rr1OIIch0NajIi8v LjsxMrkTSpGpdq94NVrasDRyetG/GceOkcDSFFKk= From: "lijunlong at openresty dot com" To: systemtap@sourceware.org Subject: [Bug translator/29986] New: kernel.function can not work on fedora34 with aarch64 architecture Date: Wed, 11 Jan 2023 08:44:02 +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: lijunlong at openresty dot com X-Bugzilla-Status: UNCONFIRMED 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=3D29986 Bug ID: 29986 Summary: kernel.function can not work on fedora34 with aarch64 architecture Product: systemtap Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: translator Assignee: systemtap at sourceware dot org Reporter: lijunlong at openresty dot com Target Milestone: --- OS: 5.11.12-300.fc34.aarch64 stap verion: Systemtap translator/driver (version 4.9/0.186, release-4.8-15-gdf41f00d). (built from the source code) Use stap -l to list the kernel functions, it will throw errors like below. stap -vv -l 'kernel.function("vfs_*")'=20=20 Systemtap translator/driver (version 4.9/0.186, release-4.8-15-gdf41f00d) Copyright (C) 2005-2022 Red Hat, Inc. and others This is free software; see the source for copying conditions. tested kernel versions: 2.6.32 ... 6.1.0-rc3 enabled features: LIBXML2 NLS Created temporary directory "/tmp/staptw6f30" Session arch: arm64 release: 5.11.12-300.fc34.aarch64 Build tree: "/lib/modules/5.11.12-300.fc34.aarch64/build" Searched for library macro files: "/usr/local/openresty-stap/share/systemtap/tapset/linux", found: 7, process= ed: 7 Searched for library macro files: "/usr/local/openresty-stap/share/systemtap/tapset", found: 11, processed: 11 Searched: "/usr/local/openresty-stap/share/systemtap/tapset/linux/arm64", found: 2, processed: 2 Searched: "/usr/local/openresty-stap/share/systemtap/tapset/linux", found: = 413, processed: 413 Searched: "/usr/local/openresty-stap/share/systemtap/tapset/arm64", found: = 1, processed: 1 Searched: "/usr/local/openresty-stap/share/systemtap/tapset", found: 40, processed: 40 Pass 1: parsed user script and 474 library scripts using 119052virt/104412res/9336shr/94904data kb, in 100usr/30sys/149real ms. derive-probes (location #0): kernel.function("vfs_*") of keyword at = :1:1 semantic error: resolution failed in DWARF builder thrown from: elaborate.cxx:1094 semantic error: resolution failed in DWARF builder thrown from: elaborate.cxx:1094 semantic error: while resolving probe point: identifier 'kernel' at = :1:7 thrown from: elaborate.cxx:1082 source: probe kernel.function("vfs_*") {} ^ semantic error: no match thrown from: elaborate.cxx:1045 Pass 2: analyzed script: 0 probes, 0 functions, 0 embeds, 0 globals using 121052virt/107052res/9948shr/96904data kb, in 150usr/10sys/149real ms. Running rm -rf /tmp/staptw6f30 Spawn waitpid result (0x0): 0 Removed temporary directory "/tmp/staptw6f30" --=20 You are receiving this mail because: You are the assignee for the bug.=