From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 56F91383301D; Mon, 17 May 2021 18:50:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 56F91383301D From: "agentzh at gmail dot com" To: systemtap@sourceware.org Subject: [Bug bpf/27877] New: Missing -t timing stats support in the bpf backend Date: Mon, 17 May 2021 18:50:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: bpf X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: agentzh at gmail 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 X-BeenThere: systemtap@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Systemtap mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2021 18:50:29 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27877 Bug ID: 27877 Summary: Missing -t timing stats support in the bpf backend Product: systemtap Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: bpf Assignee: systemtap at sourceware dot org Reporter: agentzh at gmail dot com Target Milestone: --- Currently the bpf backend lacks probe timing stats enabled by the `-t` CLI option, as evidenced by the following example: ``` $ /opt/stap/bin/stap -t --bpf -e 'probe oneshot { println("Hello world") }' Hello world ``` For comparison, the default kernel backend runs fine: ``` $ /opt/stap/bin/stap -t -e 'probe oneshot { println("Hello world") }' Hello world ----- probe hit report: begin, (:1:7), hits: 1, cycles: 2880min/2880avg/2880max, variance: 0, from: oneshot from: oneshot, index: 0 ----- refresh report: ``` --=20 You are receiving this mail because: You are the assignee for the bug.=