From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8ABD4C433FE for ; Thu, 10 Mar 2022 21:44:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344042AbiCJVpb (ORCPT ); Thu, 10 Mar 2022 16:45:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343994AbiCJVp3 (ORCPT ); Thu, 10 Mar 2022 16:45:29 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61028158E81; Thu, 10 Mar 2022 13:44:27 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E75D161A39; Thu, 10 Mar 2022 21:44:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9424CC340E8; Thu, 10 Mar 2022 21:44:23 +0000 (UTC) Date: Thu, 10 Mar 2022 16:44:22 -0500 From: Steven Rostedt To: LKML , linux-rt-users , "linux-trace-users@vger.kernel.org" , Linux Trace Devel Cc: Namhyung Kim , Masami Hiramatsu , Yordan Karadzhov , Tzvetomir Stoyanov , Arnaldo Carvalho de Melo , Jiri Olsa , Changbin Du , Patrick McLean , Josh Boyer , Clark Williams , Daniel Bristot de Oliveira , Juri Lelli , John Kacur , Tony Jones , Tom Zanussi , Jonathan Corbet , Daniel Wagner , Johannes Berg , Josef Bacik , troyengel@gmail.com, Behan Webster , Sebastian Andrzej Siewior Subject: [ANNOUNCE] trace-cmd 3.0 Message-ID: <20220310164422.41c57c7c@gandalf.local.home> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-trace-users@vger.kernel.org [ Resending without corrupted email headers ] I'm happy to announce that after over a year, we finally are able to release trace-cmd version 3.0! The two biggest changes: 1) Updated trace.dat to version 7 (not compatible with older versions of trace-cmd). But now supports compression. 2) Better synchronization between host and guest kernel tracing. Features and user visible updates since 2.9: - Relies on upstream repos for libtraceevent and libtracefs: * Removed libtraceevent code (Upstream minimum version 1.5) * Removed libtracefs code (Upstream minimum version 1.3) - KernelShark is no longer installed in the trace-cmd repo. - Some perf support - trace-cmd dump updates: * Display the clock used in the file - New trace-cmd clock: tsc2nsec to use the tsc clock in the ring buffer but to display it as nanoseconds. Requires architecture support, but trace-cmd list -C will show if it supported or not. - New option --raw-ts for trace-cmd report to show raw timestamps without any modifications. - New timestamp synchronization between host and guests. * P2P : timing back and forth of host and guest * KVM : queries the kernel for the multiplier, offset and shift for exact synchronization of host and guest timestamps. - tracecmd_warning() API for writing error messages in libtracecmd library. - Better bash tab completion. - Plugins now go into /usr/[local/]lib/trace-cmd instead of traceevent directory. - New option --full for trace-cmd list to show "print fmt" of event formats specified by -e -F - trace-cmd list now shows ftrace events as well as events that can be enabled. - Supports non qemu VM host/guest tracing. - New option --align-ts for trace-cmd report that will make the timestamps of all events a delta from the first event. (0.000003 instead of 16292.633984) - New option -V for trace-cmd report to change verbosity. - New option --verbose for a bunch of commands to trace-cmd. - New option --poll for trace-cmd record to poll which makes trace-cmd check the buffers with O_NONBLOCK instead of relying on IPIs to wake it up. This reduces latency on recording tasks that trace-cmd is not running on. - trace.dat output has been updated to Version 7 (incompatible with older trace-cmd, but trace-cmd convert can convert back to version 6, with possible lost of features). * The file is broken up into sections (defined as options) just like an ELF file. * Allows for sections to be compressed. . Supports zlib compression . Supports ZSTD compression * Will allow for new types of data to be added . Target for perf data to be included (still in development) - New command: trace-cmd convert, to convert between trace-cmd 7 and 6 files.