KernelShark 2.0 Released For Continuing To Visualize Linux Traces

Written by Michael Larabel in Programming on 18 May 2021 at 01:54 PM EDT. 7 Comments
Two years after KernelShark 1.0 for visualizing the Linux kernel's "trace-cmd" tracing, KernelShark 2.0 has now been realized.

KernelShark continues to be tooled around visualizing the output from the trace-cmd command that interacts with the Linux kernel's FTrace tracer. KernelShark 2.0 introduces the concept of data streams for loading and merging multiple trace files, a new design for its plug-in interface has been merged, and there are also modifications to its C API.

With the data streams / multiple trace file handling, each stream under KernelShark can support different plug-ins / filters. Building on the KernelShark 2.0 API is now a "KVMCombo" plug-in to visualize the execution flow between the host and guest virtual machines, "LatencyPlot" to visualize the latency between two events, and "EventFieldPlot" to visualize the recorded value of a given data field from a given trace event.

More details on KernelShark 2.0 via the release announcement and project site at
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week