From nobody Wed Feb 16 20:16:14 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5089F19B9F3A for ; Wed, 16 Feb 2022 20:16:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JzTk716Mdz3KKD for ; Wed, 16 Feb 2022 20:16:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F31241CB0A for ; Wed, 16 Feb 2022 20:16:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 21GKGEqD051494 for ; Wed, 16 Feb 2022 20:16:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21GKGEh9051493 for bugs@FreeBSD.org; Wed, 16 Feb 2022 20:16:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 261999] [dtruss] dtrace: invalid probe specifier => lstat* not found Date: Wed, 16 Feb 2022 20:16:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: joerg@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645042575; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xbVUYqsdVtx1QsT3REOdfD6cloKKPaOD5d0Xv8OLqzs=; b=Y706M3jiuknRStYfSSjYGRLsExff0naNc/U2HReZ0yacdDUsEB32TNU2UCdhDKuFuU8Jj5 dGkq1VBvMAl9DFEjJY+OwJ+MmVp0ylQFQkZjLGUrIlPeGOtY/uJcQcYPu0YNy2Ohh9xMgT 1ig4AUn0WwMK731B8zyKROvR7ahJ56SzZiAgnG5BQEVWfo4bunYsqHYV2oxiEwLY+dR553 SATV2v2slEh6peibybp1gzjSAQvJEfEMKa4WpOQw2oXXXcwhpmeS/MjdSdHzrwcj5tLYm+ rC7rHZoSBj5Jf9e+pb9cIz4jOgs5fPFKGg7agE4kjQ18tCI+7HyxoPcGnsXt0Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645042575; a=rsa-sha256; cv=none; b=AQ93fwp1Vl7FG+uiIU1PuH1O3FaAhlMxF0/dHkAopW8U6qSu1qshQab3l3baQJ6Zd8nvdV qyGI1LGfYuFv+7NJ5wROBTcx5WhGm+wcZzp/D/07MEaRDZWd/BGMnOhzrn4NN3Xxc102zN PmnrB/cVzPrwS4yqvrVqxirRf2iChOD9tmy2P6ZC63Pgv7WX9d0SjM8QWEqvqimZtJFS/D 2UC1oAK87Ffj0PLNWX7ZX3fgEfU0lnTfrtKIacaFEmETR7HYf96XotYvHkYtLcVDVBQsZF qD/PUc6wuzH5FJzwLBz0bBx9IEaYvdvV8AsLtOSnvoO3H6p7TZwmfBPaw5ngUA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261999 Bug ID: 261999 Summary: [dtruss] dtrace: invalid probe specifier =3D> lstat* not found Product: Base System Version: 12.3-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: joerg@FreeBSD.org Plain dtruss(1) on FreeBSD 12.3-stable gives: # dtruss ls dtrace: invalid probe specifier=20 #pragma D option quiet #pragma D option switchrate=3D10 /* * Command line arguments */ inline int OPT_command =3D 1; inline int OPT_follow =3D 0; inline int OPT_printid =3D 0; inline int OPT_relative =3D 0; inline int OPT_elapsed =3D 0; inline int OPT_cpu =3D 0; inline int OPT_counts =3D 0; inline int OPT_pid =3D 0; inline int OPT_name =3D 0; inline int OPT_trace =3D 0; inline int OPT_stack =3D 0; inline string NAME =3D "."; inline string TRACE =3D "."; =E2=80=A6 /* print 3 args, arg0 as a string */ syscall::access*:return, syscall::stat*:return,=20 syscall::lstat*:return,=20 syscall::readlink*:return, syscall::open*:return /self->start/ { =E2=80=A6 When I run it with DTRACE_DEBUG, I see =E2=80=A6 libdtrace DEBUG: set context to syscall::access*:return [0] prp=3D0x0 attr=3D[u/u/c] argc=3D0 libdtrace DEBUG: set label to libdtrace DEBUG: set label to libdtrace DEBUG: set label to libdtrace DEBUG: set label to libdtrace DEBUG: set context to syscall::stat*:return [0] prp=3D0x0 attr=3D= [u/u/c] argc=3D0 libdtrace DEBUG: set label to libdtrace DEBUG: set label to libdtrace DEBUG: set label to libdtrace DEBUG: set label to dtrace: invalid probe specifier=20 =E2=80=A6 So apparently, the last correctly parsed probe specifier is "syscall::stat*:return", then it bails out. Removing the "syscall::lstat*:return," line makes it work. Note sure why th= at probe is missing though. --=20 You are receiving this mail because: You are the assignee for the bug.=