From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 3wpwHcnmLmBrWQAAWB0awg (envelope-from ) for ; Thu, 18 Feb 2021 17:14:33 -0500 Received: by simark.ca (Postfix, from userid 112) id 6A55A1EF7C; Thu, 18 Feb 2021 17:14:33 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.lttng.org (lists.lttng.org [167.114.26.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 5E6721E590 for ; Thu, 18 Feb 2021 17:14:32 -0500 (EST) Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4DhTX764vbz2nB; Thu, 18 Feb 2021 17:14:31 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1613686472; bh=B5T46AAmqQUkrYHi7a+uZbUrwJBXBmlyaY0pfHrvTsY=; h=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=mc/rLu8o0VI0YbS+l9/8eKOKzhanO1Xcp+wR14sK11YIM8Kprsbb3mZefwha170GD nNHUjdKHkl2XDus/wNcLE7/ph66di38sr0Ag5+Z+VPlbSz+IGgQNrj3d4Ocoqcarm9 PW+5gW2mJs+bIsPa5ZV5bH0b8dWpzkVGW5OLSSj3jwlFB0rQk/Fy3nDgYkayRX2Doz jwBb7N/jKaVwY7d+XtLq574ZDjNs/+lCRWCJ6OXpDPdpGldD7j7HSPsLqc4vgcuepy /PQ/3qm4XufqGv3D00fqq6oUF89Vd0IRf5lIAxnPeAi4lXrhLLqKlqqCn7LDuOnBk7 LChnEQ0yu3ujA== Received: from mail.efficios.com (mail.efficios.com [167.114.26.124]) by lists.lttng.org (Postfix) with ESMTPS id 4DhTX70LR2z2l7 for ; Thu, 18 Feb 2021 17:14:30 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 8C27629EC9D for ; Thu, 18 Feb 2021 17:14:24 -0500 (EST) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id ouFG5lUhns2P; Thu, 18 Feb 2021 17:14:24 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 3778729EC9C; Thu, 18 Feb 2021 17:14:24 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 3778729EC9C X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id kR94IUP1C6jg; Thu, 18 Feb 2021 17:14:24 -0500 (EST) Received: from mail03.efficios.com (mail03.efficios.com [167.114.26.124]) by mail.efficios.com (Postfix) with ESMTP id 2B9FC29EC9A; Thu, 18 Feb 2021 17:14:24 -0500 (EST) Date: Thu, 18 Feb 2021 17:14:24 -0500 (EST) To: lttng-dev Cc: linux-trace-users , linux-kernel Message-ID: <2137653784.27421.1613686464160.JavaMail.zimbra@efficios.com> MIME-Version: 1.0 X-Originating-IP: [167.114.26.124] X-Mailer: Zimbra 8.8.15_GA_3996 (ZimbraWebClient - FF85 (Linux)/8.8.15_GA_3996) Thread-Index: Lfx1OD8Hxjqn+78W97ARTlbDOIKMug== Thread-Topic: lttng-trace: a new strace-alike LTTng command Subject: [lttng-dev] lttng-trace: a new strace-alike LTTng command X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mathieu Desnoyers via lttng-dev Reply-To: Mathieu Desnoyers Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" Hi there! I just pushed a new command line tool named `lttng-trace`, which allows tracing a specific command and its sub-processes using the LTTng system call tracer. It focuses on simplicity. It can be found here: Git website: http://git.lttng.org/?p=lttng-trace.git Clone with: git clone https://git.lttng.org/lttng-trace.git For instance, tracing the command "date" is as simple as: lttng-trace date The tracing session can be optionally configured by using the usual lttng control interfaces after this message appears: [lttng-trace] Tracing session `date-20210218-170545` created. It can be customized using the `lttng` command. [lttng-trace] Press key when ready to run the child process. After execution of the command, the following message details how to view the trace: [lttng-trace] Sub-process hierarchy traced successfully. View trace with `babeltrace2 /tmp/lttng-trace/date-20210218-170906` See `lttng-trace --help` for more options. This new command is in early alpha stage. Feedback is welcome! For instance, we are wondering whether the default behavior should just be tracing system calls, or if some level of user-space tracing should be enabled by default as well. Or if some new options should enable "typical" usage scenarios. Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev