pub/scm/utils/trace-cmd/trace-cmd.git  about / heads / tags
Official home of trace-cmd
$ git log --pretty=format:'%h %s (%cs)%d'
55adb82d trace-cmd split: Enable support for buffer selection (2024-02-22)
	(HEAD -> master)
08c32816 trace-cmd split: Remove const to (struct handle_list).name (2024-02-22)
29f29261 trace-cmd utest: Add PATH_MAX if it is not already defined (2024-02-22)
c7f19c48 trace-cmd: Fix --poll trace recording (2024-02-19)
e53ab33d libtracecmd: trace-cmd split: Do not fail if cmdlines are not present (2024-01-25)
f5b05d19 trace-cmd split: Handle splitting files with multiple instances (2024-01-24)
2ed5f2e8 trace-cmd split: Add functions to generate temp files (2024-01-24)
caa9eda0 trace-cmd split: Store instances in local list (2024-01-24)
a2c28600 trace-cmd report: Allow for multiple files without having -i (2024-01-24)
3b6096fc trace-cmd split: Initialize current in parse_file() (2024-01-24)
...

$ git cat-file blob HEAD:README


  For more information on contributing please see: https://www.trace-cmd.org

Note: The official repositiory for trace-cmd and KernelShark is here:

 git://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git

For bug reports and issues, please file it here:

 https://bugzilla.kernel.org/buglist.cgi?component=Trace-cmd%2FKernelshark&product=Tools&resolution=---

These files make up the code that create the trace-cmd programs.
This includes the GUI interface application kernelshark as well
as trace-graph and trace-view.

These files also make up the code to create the libtracecmd library.

The applications are licensed under the GNU General Public License 2.0
(see COPYING) and the libraries are licensed under the GNU
Lesser General Public License 2.1 (See COPYING.LIB).

BUILDING:

In order to install build dependencies on Debian / Ubuntu do the following:
    sudo apt-get install build-essential git pkg-config -y
    sudo apt-get install libtracefs-dev libtraceevent-dev -y

In order to install build dependencies on Fedora, as root do the following:
    dnf install gcc make git pkg-config -y
    dnf install libtracefs-devel libtraceevent-devel -y

In case your distribution does not have the required libtracefs and
libtraceevent libraries, build and install them manually:

    git clone https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/
    cd libtraceevent
    make
    sudo make install

    git clone https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/
    cd libtracefs
    make
    sudo make install

To make trace-cmd
    make

To make the gui
    make gui

INSTALL:

To install trace-cmd
    make install

To install the gui
    make install_gui

To install libtracecmd libraries
    make install_libs

Note: The default install is relative to /usr/local
    The default install directory is /usr/local/bin
    The default plugin directory is /usr/local/lib/trace-cmd/plugins

To change the default, you can set 'prefix', eg
mkdir $HOME/test-trace
make prefix=$HOME/test-trace
make prefix=$HOME/test-trace install

# heads (aka `branches'):
$ git for-each-ref --sort=-creatordate refs/heads \
	--format='%(HEAD) %(refname:short) %(subject) (%(creatordate:short))'
* master       trace-cmd split: Enable support for buffer selection (2024-02-22)
  trace-cmd-stable-v3.0 trace-cmd: Version 3.0.4 (2023-07-10)
  trace-cmd-stable-v3.1 trace-cmd: Version 3.1.7 (2023-07-10)
  trace-cmd-stable-v2.9 trace-cmd: Version 2.9.7 (2022-02-15)
  trace-cmd    trace-cmd: Keep build_install files around (2020-12-15)
  trace-cmd-stable-v2.8 trace-cmd: Version 2.8.3 (2019-07-24)

# tags:
$ git for-each-ref --sort=-creatordate refs/tags \
	--format='%(refname:short) %(subject) (%(creatordate:short))'
libtracecmd-1.5.1 libtracecmd: version 1.5.1 (2024-01-12) tar.gz
libtracecmd-1.5.0 libtracecmd: version 1.5 (2024-01-10) tar.gz
trace-cmd-v3.1.7 trace-cmd: Version 3.1.7 (2023-07-11) tar.gz
trace-cmd-v3.0.4 trace-cmd: Version 3.0.4 (2023-07-11) tar.gz
trace-cmd-v3.2 trace-cmd: Version 3.2 (2023-06-07) tar.gz
libtracecmd-1.4.0 libtracecmd: version 1.4 (2023-06-07) tar.gz
trace-cmd-v3.1.6 trace-cmd: Version 3.1.6 (2023-01-09) tar.gz
libtracecmd-1.3.1 libtracecmd: version 1.3.0 (2023-01-09) tar.gz
trace-cmd-v3.1.5 trace-cmd: Version 3.1.5 (2022-12-12) tar.gz
libtracecmd-1.3.0 libtracecmd: version 1.3 (2022-12-12) tar.gz
...

# associated public inboxes:
# (number on the left is used for dev purposes)
       3281 linux-trace-devel
        542 lkml
         75 linux-perf-users
         24 qemu-devel
         22 stable
         21 kvm
         20 git
         19 linux-arm-kernel
         19 u-boot
         18 netdev
         15 linux-devicetree
         13 dpdk-dev
         12 buildroot
         11 xen-devel
         10 linuxppc-dev
          8 linux-fsdevel
          8 linux-mm
          8 linux-scsi
          8 dri-devel
          7 linux-wireless
          7 linux-media
          6 linux-xfs
          6 linux-btrfs
          6 intel-gfx
          5 netfilter-devel
          5 linux-mips
          5 alsa-devel
          5 linux-usb
          5 openembedded-core
          5 openembedded-devel
          5 linux-trace-kernel
          5 ../../../../../powertop
          4 linux-mediatek
          4 linux-crypto
          4 linux-cifs
          4 linux-input
          4 linux-bluetooth
          4 cluster-devel
          4 linux-nilfs
          3 linux-samsung-soc
          3 linux-block
          3 linux-riscv
          3 linux-nfs
          3 linux-arm-msm
          3 selinux
          3 linux-gpio
          3 linux-rdma
          3 linux-ext4
          3 linux-rt-users
          3 linux-ide
          3 linux-omap
          3 lttng-dev
          3 linux-arch
          3 linux-s390
          3 linux-staging
          3 nvdimm
          3 yocto-meta-freescale
          3 linux-patches
          3 linux-um
          3 poky
          3 kvm-ppc
          3 lvm-devel
          2 linux-mtd
          2 cocci
          2 bpf
          2 linux-acpi
          2 linux-integrity
          2 linux-amlogic
          2 linux-erofs
          2 linux-nvdimm
          2 linux-snps-arc
          2 fstests
          2 linux-pm
          2 linux-hwmon
          2 linux-iio
          2 linux-pci
          2 linux-f2fs-devel
          2 backports
          2 linux-doc
          2 linux-mmc
          2 amd-gfx
          2 tpmdd-devel
          2 linux-api
          2 linux-spi
          2 linux-i2c
          2 virtualization
          2 linux-kbuild
          2 containers
          2 dm-devel
          2 linux-cxl
          2 linux-sh
          2 ocfs2-devel
          2 nouveau
          2 kernel-janitors
          2 fio
          2 ofono
          2 yocto-meta-ti
          2 openrisc
          2 intel-wired-lan
          2 batman
          2 linux-ia64
          2 autofs
          2 linux-alpha
          2 linux-hexagon
          2 reiserfs-devel
          2 lvs-devel
          1 linux-fscrypt
          1 linux-nvme
          1 live-patching
          1 linux-efi
          1 linux-edac
          1 linux-iommu
          1 linux-rtc
          1 kvmarm
          1 driverdev-devel
          1 linux-renesas-soc
          1 linux-kselftest
          1 kernel-hardening
          1 linux-clk
          1 dmaengine
          1 linux-next
          1 linux-parisc
          1 linux-leds
          1 linux-security-module
          1 linux-modules
          1 kernelnewbies
          1 linux-sgx
          1 linux-serial
          1 linux-watchdog
          1 linux-hyperv
          1 workflows
          1 rcu
          1 linux-m68k
          1 linux-i3c
          1 util-linux
          1 linux-spdx
          1 linux-wpan
          1 ksummit-discuss
          1 wireguard
          1 io-uring
          1 linux-kernel-mentees
          1 linux-csky
          1 linux-man
          1 linux-unionfs
          1 linux-firmware
          1 cip-dev
          1 linux-audit
          1 linux-remoteproc
          1 linux-dash
          1 linux-bcache
          1 linux-sparse
          1 mm-commits
          1 linux-pwm
          1 linux-tegra
          1 linux-fpga
          1 ceph-devel
          1 linux-can
          1 linux-rockchip
          1 linux-raid
          1 xdp-newbies
          1 platform-driver-x86
          1 phone-devel
          1 openbmc
          1 linux-hardening
          1 dash
          1 keyrings
          1 linux-fbdev
          1 linux-sctp
          1 target-devel
          1 lustre-devel
          1 soc
          1 rust-for-linux
          1 ath10k
          1 ath11k
          1 linux-phy
          1 sparclinux
          1 linux-sunxi
          1 mptcp
          1 linux-coco
          1 regressions
          1 ksummit
          1 b43-dev
          1 linux-nfc
          1 linux-bcachefs
          1 ath9k-devel
          1 ntfs3
          1 llvm
          1 iwd
          1 ell
          1 ltp
          1 yocto
          1 yocto-toaster
          1 yocto-meta-arm
          1 yocto-docs
          1 bitbake-devel
          1 yocto-meta-virtualization
          1 chrome-platform
          1 ntb
          1 yocto-meta-arago
          1 outreachy
          1 xenomai
          1 damon
          1 asahi
          1 kexec
          1 loongarch
          1 imx
          1 ath12k
          1 b4-sent
          1 oe-lkp
          1 oe-linux-nfc
          1 oe-kbuild-all
          1 oe-chipsec
          1 intel-xe
          1 virtio-dev
          1 virtio-comment
          1 v9fs
          1 ecryptfs
          1 qemu-riscv
          1 grub-devel
          1 kbd
          1 cpufreq
          1 dccp
          1 cgroups
          1 devicetree-spec
          1 devicetree-compiler
          1 initramfs
          1 hail-devel
          1 kvm-ia64
          1 linux-8086
          1 kernel-testers
          1 linux-btrace
          1 linux-embedded
          1 linux-hams
          1 linux-hotplug
          1 linux-laptop
          1 linux-sound
          1 trinity
          1 linux-metag
          1 linux-x25
          1 netfilter
          1 linux-oxnas
          1 u-boot-amlogic
          1 lm-sensors
          1 acpica-devel
          1 perfbook
          1 virtio-fs
          1 smatch
          1 ../../../../../fuego
          1 ../../../../../wireless-regdb
          1 ../../../../../igt-dev

git clone https://yhbt.net/lore/pub/scm/utils/trace-cmd/trace-cmd.git