From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 25846 invoked from network); 24 Mar 2021 23:42:51 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 24 Mar 2021 23:42:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Message-ID:Date:Content-ID: Content-Type:MIME-Version:Subject:To:References:From:In-reply-to:cc:Reply-To: Content-Transfer-Encoding:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=O8yApg6E7PliSivf3DCYeQpTxpZ7HkRmqtHVNUFB1IY=; b=ZsTfk1SX0gEXEoT0cLTCFa81n2 L8yA/HaUCZTIqNRp5XhXGV57NuhTm2MmLTMiwiJBfTPqA6CkAaVH1bzwkSNrMGMnXRWPJorbjkJY/ wmZLosUuhrQPo1u9J2+NWYTwbdQlZFrdiWBkfgaCmOeGrrdTK+WgMp0opEmf4aX+vIOYuoe86wUWf iyhUf7AsSKaahihmHBMfxQSQ40cfOQpUP2pkU1lL/EyljMVLFCYGacIyu3NWn/LKjUgULqDeQZ+q0 qRH19MVmslSObcKGFQAxzmgumyFetCvVBGSsfqzlpJJar12YJU6J4zrE/tAelGDnRcv6uz2GC+f7r r1A9sp0g==; Received: from authenticated user by zero.zsh.org with local id 1lPD9G-000BNk-BV; Wed, 24 Mar 2021 23:42:50 +0000 Received: from authenticated user by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1lPD90-000BEC-CV; Wed, 24 Mar 2021 23:42:35 +0000 Received: from [192.168.178.21] (helo=hydra) by mail.kiddle.eu with esmtp(Exim 4.93.0.4) (envelope-from ) id 1lPD8x-000FmH-Qo; Thu, 25 Mar 2021 00:42:32 +0100 cc: zsh-workers@zsh.org In-reply-to: From: Oliver Kiddle References: <35706-1616539392.227174@49wn.5333.Rj93> To: Jun T Subject: Re: PATCH: complete probes for dtrace completion MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <60651.1616629351.1@hydra> Date: Thu, 25 Mar 2021 00:42:31 +0100 Message-ID: <60652-1616629351.828535@4m9W.f13N.UI31> X-Seq: 48240 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: Jun T wrote: > I tested on macOS. Thanks! > It is not filtered out due to a typo; 'pattern' in ${${...}:#pattern} > needs a trailing '*'. Ah, good point, thanks. > On macOS, output of 'dtrace -l' includes lines like > 170 syscall #8 entry I get those on FreeBSD too but hadn't especially paid much attention. Trying to specify them only produces an error so filtering is likely correct. > And dtrace on macOS always issues waring like > dtrace: system integrity protection is on, some features will not be available > We need to send it to /dev/null. Since 5.0.8, _call_program sends stderr to /dev/null by default and requires 2>&1 to preserve it. Were you actually getting the errors dumped from _dtrace? > Yes. And I also added options listed in the online document for > Solaris 11.4: Looks good, thanks. > There is a dtrace command in systemtap-sdt-{dev,devel} package for > {Debian,RedHat}-like systems (but I have never used it): > https://manpages.debian.org/buster/systemtap-sdt-dev/dtrace.1.en.html > I'm not sure _dtrace needs to support it. I have used dtrace on Linux in the past but there were more occasions where I moved over to a Solaris machine to use it. I'm not sure whether the latest is still systemtap based. bpftrace has improved and looks to be very similar. I've heard a Windows port exists too. I doubt _dtrace would need much if any changes for the Linux port. I don't think it is vital to add support but also see no reason not to. Would be better to check the latest release on Oracle Linux rather than that old man page, however. There's also a NetBSD port but I doubt that deviates much, if at all. Oliver