← 返回命令列表

Linux command

trace-cmd-list 命令

安全

权限或系统影响较大,执行前请核对目标。

常用示例

Example

sudo trace-cmd list -t

Example

sudo trace-cmd list -p

Example

sudo trace-cmd list -e

Example

sudo trace-cmd list -f

Example

sudo trace-cmd list -e [sched:*]

Example

sudo trace-cmd list -o

Example

sudo trace-cmd list -f [tcp_send*]

说明

trace-cmd list displays available tracers, events, plugins, and functions that can be used with the Ftrace tracing framework. This helps identify what can be traced on the current system. The output depends on kernel configuration and loaded modules. Function listing may be very large on systems with many kernel symbols.

参数

-t
List available tracers
-p
List available plugins
-e _regex_
List available events, optionally filtered by a subsystem or regex pattern.
-f _regex_
List available functions for tracing, optionally filtered by regex.
-o
List available event options (e.g., noprint-fmt, sym-offset).
-B _buffer_
List from a specific buffer instance.

FAQ

What is the trace-cmd-list command used for?

trace-cmd list displays available tracers, events, plugins, and functions that can be used with the Ftrace tracing framework. This helps identify what can be traced on the current system. The output depends on kernel configuration and loaded modules. Function listing may be very large on systems with many kernel symbols.

How do I run a basic trace-cmd-list example?

Run `sudo trace-cmd list -t` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -t do in trace-cmd-list?

List available tracers