linux-trace-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: LKML <linux-kernel@vger.kernel.org>,
	linux-rt-users <linux-rt-users@vger.kernel.org>,
	"linux-trace-users@vger.kernel.org" 
	<linux-trace-users@vger.kernel.org>,
	Linux Trace Devel <linux-trace-devel@vger.kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>,
	Masami Hiramatsu <mhiramat@kernel.org>,
	Yordan Karadzhov <y.karadz@gmail.com>,
	Tzvetomir Stoyanov <tz.stoyanov@gmail.com>,
	Arnaldo Carvalho de Melo <acme@redhat.com>,
	Jiri Olsa <jolsa@redhat.com>, Changbin Du <changbin.du@gmail.com>,
	Patrick McLean <chutzpah@gentoo.org>,
	Josh Boyer <jwboyer@fedoraproject.org>,
	Clark Williams <williams@redhat.com>,
	Daniel Bristot de Oliveira <bristot@redhat.com>,
	Juri Lelli <juri.lelli@redhat.com>,
	John Kacur <jkacur@redhat.com>, Tony Jones <tonyj@suse.de>,
	Tom Zanussi <zanussi@kernel.org>,
	Jonathan Corbet <corbet@lwn.net>, Daniel Wagner <wagi@monom.org>,
	Johannes Berg <johannes@sipsolutions.net>,
	Josef Bacik <jbacik@fb.com>,
	troyengel@gmail.com, Behan Webster <behanw@converseincode.com>,
	Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Subject: [ANNOUNCE] trace-cmd 3.0
Date: Thu, 10 Mar 2022 16:44:22 -0500	[thread overview]
Message-ID: <20220310164422.41c57c7c@gandalf.local.home> (raw)

[ 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 <event> -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.

                 reply	other threads:[~2022-03-10 21:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220310164422.41c57c7c@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=acme@redhat.com \
    --cc=behanw@converseincode.com \
    --cc=bigeasy@linutronix.de \
    --cc=bristot@redhat.com \
    --cc=changbin.du@gmail.com \
    --cc=chutzpah@gentoo.org \
    --cc=corbet@lwn.net \
    --cc=jbacik@fb.com \
    --cc=jkacur@redhat.com \
    --cc=johannes@sipsolutions.net \
    --cc=jolsa@redhat.com \
    --cc=juri.lelli@redhat.com \
    --cc=jwboyer@fedoraproject.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=linux-trace-devel@vger.kernel.org \
    --cc=linux-trace-users@vger.kernel.org \
    --cc=mhiramat@kernel.org \
    --cc=namhyung@kernel.org \
    --cc=tonyj@suse.de \
    --cc=troyengel@gmail.com \
    --cc=tz.stoyanov@gmail.com \
    --cc=wagi@monom.org \
    --cc=williams@redhat.com \
    --cc=y.karadz@gmail.com \
    --cc=zanussi@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).