From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 99358 invoked by alias); 8 Nov 2019 15:58:26 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 99296 invoked by uid 48); 8 Nov 2019 15:58:22 -0000 From: "me at serhei dot io" To: systemtap@sourceware.org Subject: [Bug bpf/25177] New: stap --bpf -c does not work as specified Date: Fri, 08 Nov 2019 15:58:00 -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: me at serhei dot io 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 X-SW-Source: 2019-q4/txt/msg00034.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25177 Bug ID: 25177 Summary: stap --bpf -c does not work as specified Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: bpf Assignee: systemtap at sourceware dot org Reporter: me at serhei dot io Target Milestone: --- With test.stp: probe begin { printf("BEGIN\n") } probe process("/opt/stap-master/bin/stap").function("main") { printf("found it\n") exit() } probe end { printf("END PASS\n") } $ sudo /opt/stap-master/bin/stap test.stp -c '/opt/stap-master/bin/stap -V' Systemtap translator/driver (version 4.2/0.174, commit release-4.1-100-ga8c7c8f114fa + changes) Copyright (C) 2005-2019 Red Hat, Inc. and others This is free software; see the source for copying conditions. tested kernel versions: 2.6.18 ... 5.1-rc2 enabled features: AVAHI BOOST_STRING_REF DYNINST BPF JAVA PYTHON2 PYTHON3 LIBRPM LIBSQLITE3 LIBVIRT LIBXML2 NLS NSS READLINE BEGIN found it END PASS But the same invocation with --bpf does not launch the command: $ sudo /opt/stap-master/bin/stap test.stp -c '/opt/stap-master/bin/stap -V' --bpf BEGIN ... --=20 You are receiving this mail because: You are the assignee for the bug.