Enum TracepointCategory

Source
#[non_exhaustive]
pub enum TracepointCategory {
Show 162 variants P9, Afs, Alarmtimer, Asoc, Avc, Bcache, Block, BpfTestRun, BpfTrace, Bridge, Btrfs, Cachefiles, Cgroup, Clk, Cma, Compaction, ContextTracking, Cpuhp, Csd, Damon, Devfreq, Devlink, Dlm, Dma, DmaFence, Erofs, ErrorReport, Ext4, F2Fs, Fib, Fib6, Filelock, Filemap, Fscache, FsDax, Fsi, FsiMasterAspeed, FsiMasterAstCf, FsiMasterGpio, FsiMasterI2Cr, Gpio, GpuMem, Habanalabs, Handshake, Host1X, HugeMemory, Hugetlbfs, Hwmon, HwPressure, I2C, I2CSlave, IbMad, IbUmad, Icmp, Initcall, IntelIfs, IntelIsh, IntelSst, Iocost, Iommu, IoUring, Ipi, Irq, IrqMatrix, Iscsi, Jbd2, Kmem, Ksm, Kvm, Kyber, Libata, Lock, MapleTree, Mce, Mctp, Mdio, Memcg, Migrate, Mlxsw, Mmap, MmapLock, Mmc, Module, Mptcp, Napi, Nbd, Neigh, Net, Netfs, Netlink, Nilfs2, Nmi, Notifier, Objagg, Oom, Osnoise, PageIsolation, Pagemap, PagePool, PageRef, Percpu, Power, Preemptirq, Printk, Pwc, Pwm, Qdisc, Qla, Qrtr, RawSyscalls, Rcu, RdmaCore, Regulator, Rpcgss, Rpcrdma, Rpm, Rseq, Rtc, RustSample, Rv, Rwmmio, Rxrpc, Sched, SchedExt, Scmi, Scsi, Sctp, Signal, Siox, Skb, Smbus, Sock, Sof, SofIntel, Spi, Spmi, Sunrpc, Sunvnet, Swiotlb, Syscalls, Target, Task, Tcp, TegraApbDma, Thp, Timer, TimerMigration, Timestamp, Tlb, Udp, V4L2, Vb2, Vmalloc, Vmscan, Vsock, Watchdog, Wbt, Workqueue, Writeback, Xdp, Xen, Custom(String),
}
Expand description

Represents categories of Linux kernel tracepoints.

This enum provides a list of tracepoint categories that can be used with BPF programs to attach to various kernel events.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

P9

9P protocol events.

§

Afs

Andrew File System events.

§

Alarmtimer

Alarm timer events.

§

Asoc

ALSA System-on-Chip audio events.

§

Avc

Access Vector Cache events.

§

Bcache

Bcache events.

§

Block

Block layer events.

§

BpfTestRun

BPF test run events.

§

BpfTrace

BPF trace events.

§

Bridge

Bridge events.

§

Btrfs

Btrfs filesystem events.

§

Cachefiles

Cachefiles events.

§

Cgroup

Control groups events.

§

Clk

Clock subsystem events.

§

Cma

CMA events.

§

Compaction

Memory compaction events.

§

ContextTracking

Context tracking events.

§

Cpuhp

CPU hotplug events.

§

Csd

CSD events.

§

Damon

Damon events.

§

Devfreq

Devfreq events.

Device link events.

§

Dlm

Distributed lock manager events.

§

Dma

DMA events.

§

DmaFence

DMA fence events.

§

Erofs

EROFS filesystem events.

§

ErrorReport

Error reporting events.

§

Ext4

Ext4 filesystem events.

§

F2Fs

F2FS filesystem events.

§

Fib

FIB events.

§

Fib6

IPv6 FIB events.

§

Filelock

File lock events.

§

Filemap

File mapping events.

§

Fscache

FS-Cache events.

§

FsDax

DAX filesystem events.

§

Fsi

FSI events.

§

FsiMasterAspeed

FSI master Aspeed events.

§

FsiMasterAstCf

FSI master AST-CF events.

§

FsiMasterGpio

FSI master GPIO events.

§

FsiMasterI2Cr

FSI master I2CR events.

§

Gpio

GPIO events.

§

GpuMem

GPU memory events.

§

Habanalabs

Habana Labs events.

§

Handshake

Handshake events.

§

Host1X

Host1X events.

§

HugeMemory

Huge memory events.

§

Hugetlbfs

HugeTLB filesystem events.

§

Hwmon

Hardware monitoring events.

§

HwPressure

Hardware pressure events.

§

I2C

I2C events.

§

I2CSlave

I2C slave events.

§

IbMad

InfiniBand MAD events.

§

IbUmad

InfiniBand UMAD events.

§

Icmp

ICMP events.

§

Initcall

Initialization call events.

§

IntelIfs

Intel IFS events.

§

IntelIsh

Intel ISH events.

§

IntelSst

Intel SST events.

§

Iocost

IO cost events.

§

Iommu

IOMMU events.

§

IoUring

IO uring events.

§

Ipi

Inter-processor interrupt events.

§

Irq

IRQ events.

§

IrqMatrix

IRQ matrix events.

§

Iscsi

iSCSI events.

§

Jbd2

JBD2 events.

§

Kmem

Kernel memory events.

§

Ksm

Kernel same-page merging events.

§

Kvm

KVM events.

§

Kyber

Kyber events.

§

Libata

Libata events.

§

Lock

Lock events.

§

MapleTree

Maple tree events.

§

Mce

Machine Check Exception events.

§

Mctp

MCTP events.

§

Mdio

MDIO events.

§

Memcg

Memory controller events.

§

Migrate

Memory migration events.

§

Mlxsw

Mellanox switch events.

§

Mmap

Memory mapping events.

§

MmapLock

Memory map lock events.

§

Mmc

MMC events.

§

Module

Module events.

§

Mptcp

Multipath TCP events.

§

Napi

NAPI events.

§

Nbd

Network block device events.

§

Neigh

Neighbor events.

§

Net

Networking events.

§

Netfs

Network filesystem events.

Netlink events.

§

Nilfs2

NILFS2 filesystem events.

§

Nmi

Non-maskable interrupt events.

§

Notifier

Notifier events.

§

Objagg

Object aggregation events.

§

Oom

Out of memory events.

§

Osnoise

OS noise events.

§

PageIsolation

Page isolation events.

§

Pagemap

Pagemap events.

§

PagePool

Page pool events.

§

PageRef

Page reference events.

§

Percpu

Per-CPU events.

§

Power

Power management events.

§

Preemptirq

Preemption and IRQ events.

§

Printk

Printk events.

§

Pwc

PWC events.

§

Pwm

PWM events.

§

Qdisc

Queueing discipline events.

§

Qla

QLogic adapter events.

§

Qrtr

QRTR events.

§

RawSyscalls

Raw syscalls events.

§

Rcu

Read-copy-update events.

§

RdmaCore

RDMA core events.

§

Regulator

Regulator events.

§

Rpcgss

RPC GSS events.

§

Rpcrdma

RPC RDMA events.

§

Rpm

Runtime Power Management events.

§

Rseq

Restartable sequences events.

§

Rtc

Real-time clock events.

§

RustSample

Rust sample events.

§

Rv

Reduced Virtualization events.

§

Rwmmio

Read-write memory-mapped I/O events.

§

Rxrpc

RxRPC events.

§

Sched

Scheduler events.

§

SchedExt

Scheduler extensions events.

§

Scmi

SCMI events.

§

Scsi

SCSI events.

§

Sctp

SCTP protocol events.

§

Signal

Signal events.

§

Siox

SIOX events.

§

Skb

Socket buffer events.

§

Smbus

SMBus events.

§

Sock

Socket events.

§

Sof

Sound Open Firmware events.

§

SofIntel

Sound Open Firmware Intel events.

§

Spi

SPI events.

§

Spmi

System Power Management Interface events.

§

Sunrpc

SunRPC events.

§

Sunvnet

Sunvnet events.

§

Swiotlb

Software I/O translation buffer events.

§

Syscalls

System call events.

§

Target

Target events.

§

Task

Task events.

§

Tcp

TCP (Transmission Control Protocol) events.

§

TegraApbDma

Tegra APB DMA events.

§

Thp

Transparent Huge Pages events.

§

Timer

Timer events.

§

TimerMigration

Timer migration events.

§

Timestamp

Timestamp events.

§

Tlb

Translation Lookaside Buffer events.

§

Udp

UDP (User Datagram Protocol) events.

§

V4L2

Video4Linux2 events.

§

Vb2

Video buffer events.

§

Vmalloc

Virtual memory allocation events.

§

Vmscan

Virtual memory scanning events.

§

Vsock

Virtual socket events.

§

Watchdog

Watchdog events.

§

Wbt

Writeback throttling events.

§

Workqueue

Workqueue events.

§

Writeback

Writeback events.

§

Xdp

XDP events.

§

Xen

Xen hypervisor events.

§

Custom(String)

Custom type. Tracepoint category that is not predefined.

Trait Implementations§

Source§

impl AsRef<str> for TracepointCategory

Source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Clone for TracepointCategory

Source§

fn clone(&self) -> TracepointCategory

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TracepointCategory

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.