Lines Matching full:examples
5 programs, and includes several useful tools and examples. It makes use of
43 See the source: [bitehist.py](examples/tracing/bitehist.py). What this traces,
66 #### Examples:
68 - examples/tracing/[bitehist.py](examples/tracing/bitehist.py): Block I/O size histogram. [Examples…
69 - examples/tracing/[disksnoop.py](examples/tracing/disksnoop.py): Trace block device I/O latency. […
70 - examples/[hello_world.py](examples/hello_world.py): Prints "Hello, World!" for new processes.
71 - examples/tracing/[mysqld_query.py](examples/tracing/mysqld_query.py): Trace MySQL server queries …
72 …examples/tracing/[nodejs_http_server.py](examples/tracing/nodejs_http_server.py): Trace Node.js HT…
73 - examples/tracing/[stacksnoop](examples/tracing/stacksnoop.py): Trace a kernel function and print …
74 - tools/[statsnoop](tools/statsnoop.py): Trace stat() syscalls. [Examples](tools/statsnoop_example.…
75 - examples/tracing/[task_switch.py](examples/tracing/task_switch.py): Count task switches with from…
76 - examples/tracing/[tcpv4connect.py](examples/tracing/tcpv4connect.py): Trace TCP IPv4 active conne…
77 - examples/tracing/[trace_fields.py](examples/tracing/trace_fields.py): Simple example of printing …
78 - examples/tracing/[undump.py](examples/tracing/undump.py): Dump UNIX socket packets. [Examples](ex…
79 … examples/tracing/[urandomread.py](examples/tracing/urandomread.py): A kernel tracepoint example, …
80 …examples/tracing/[vfsreadlat.py](examples/tracing/vfsreadlat.py) examples/tracing/[vfsreadlat.c](e…
81 …examples/tracing/[kvm_hypercall.py](examples/tracing/kvm_hypercall.py): Conditional static kernel …
87 …: Display function parameter values as a histogram or frequency count. [Examples](tools/argdist_ex…
88 - tools/[bashreadline](tools/bashreadline.py): Print entered bash commands system wide. [Examples](…
89 …tools/bindsnoop.py): Trace IPv4 and IPv6 bind() system calls (bind()). [Examples](tools/bindsnoop_…
90 …ols/biolatency.py): Summarize block device I/O latency as a histogram. [Examples](tools/biolatency…
91 - tools/[biotop](tools/biotop.py): Top for disks: Summarize block device I/O by process. [Examples]…
92 …tools/biopattern.py): Identify random/sequential disk access patterns. [Examples](tools/biopattern…
93 - tools/[biosnoop](tools/biosnoop.py): Trace block device I/O with PID and latency. [Examples](tool…
94 - tools/[bitesize](tools/bitesize.py): Show per process I/O size histogram. [Examples](tools/bitesi…
95 - tools/[bpflist](tools/bpflist.py): Display processes with active BPF programs and maps. [Examples…
96 …st.py): Summarize btrfs operation latency distribution as a histogram. [Examples](tools/btrfsdist_…
97 - tools/[btrfsslower](tools/btrfsslower.py): Trace slow btrfs operations. [Examples](tools/btrfsslo…
98 - tools/[capable](tools/capable.py): Trace security capability checks. [Examples](tools/capable_exa…
99 - tools/[cachestat](tools/cachestat.py): Trace page cache hit/miss ratio. [Examples](tools/cachesta…
100 - tools/[cachetop](tools/cachetop.py): Trace page cache hit/miss ratio by processes. [Examples](too…
101 …ools/compactsnoop.py): Trace compact zone events with PID and latency. [Examples](tools/compactsno…
102 …s/cpudist.py): Summarize on- and off-CPU time per task as a histogram. [Examples](tools/cpudist_ex…
103 …unclaimed.py): Sample CPU run queues and calculate unclaimed idle CPU. [Examples](tools/cpuunclaim…
104 …tat.py): Trace and report long atomic critical sections in the kernel. [Examples](tools/criticalst…
105 …/dbslower.py): Trace MySQL/PostgreSQL queries slower than a threshold. [Examples](tools/dbslower_e…
106 …s/dbstat.py): Summarize MySQL/PostgreSQL query latency as a histogram. [Examples](tools/dbstat_exa…
107 - tools/[dcsnoop](tools/dcsnoop.py): Trace directory entry cache (dcache) lookups. [Examples](tools…
108 - tools/[dcstat](tools/dcstat.py): Directory entry cache (dcache) stats. [Examples](tools/dcstat_ex…
109 - tools/[deadlock](tools/deadlock.py): Detect potential deadlocks on a running process. [Examples](…
110 …s/dirtop.py): File reads and writes by directory. Top for directories. [Examples](tools/dirtop_exa…
111 - tools/[drsnoop](tools/drsnoop.py): Trace direct reclaim events with PID and latency. [Examples](t…
112 - tools/[execsnoop](tools/execsnoop.py): Trace new processes via exec() syscalls. [Examples](tools/…
113 …ols/exitsnoop.py): Trace process termination (exit and fatal signals). [Examples](tools/exitsnoop_…
114 …ist.py): Summarize ext4 operation latency distribution as a histogram. [Examples](tools/ext4dist_e…
115 - tools/[ext4slower](tools/ext4slower.py): Trace slow ext4 operations. [Examples](tools/ext4slower_…
116 - tools/[filelife](tools/filelife.py): Trace the lifespan of short-lived files. [Examples](tools/fi…
117 - tools/[filegone](tools/filegone.py): Trace why file gone (deleted or renamed). [Examples](tools/f…
118 - tools/[fileslower](tools/fileslower.py): Trace slow synchronous file reads and writes. [Examples]…
119 …top.py): File reads and writes by filename and process. Top for files. [Examples](tools/filetop_ex…
120 - tools/[funccount](tools/funccount.py): Count kernel function calls. [Examples](tools/funccount_ex…
121 …cinterval.py): Time interval between the same function as a histogram. [Examples](tools/funcinterv…
122 …s/funclatency.py): Time functions and show their latency distribution. [Examples](tools/funclatenc…
123 - tools/[funcslower](tools/funcslower.py): Trace slow kernel or user function calls. [Examples](too…
124 …thostlatency.py): Show latency for getaddrinfo/gethostbyname[2] calls. [Examples](tools/gethostlat…
125 - tools/[hardirqs](tools/hardirqs.py): Measure hard IRQ (hard interrupt) event time. [Examples](to…
126 …ls/inject.py): Targeted error injection with call chain and predicates [Examples](tools/inject_exa…
127 - tools/[killsnoop](tools/killsnoop.py): Trace signals issued by the kill() syscall. [Examples](too…
128 …tat.py): Traces kernel mutex lock events and display locks statistics. [Examples](tools/klockstat_…
129 …mexit.py): Display the exit_reason and its statistics of each vm exit. [Examples](tools/kvmexit_ex…
130 …ols/llcstat.py): Summarize CPU cache references and misses by process. [Examples](tools/llcstat_ex…
131 - tools/[mdflush](tools/mdflush.py): Trace md flush events. [Examples](tools/mdflush_example.txt).
132 …leak.py): Display outstanding memory allocations to find memory leaks. [Examples](tools/memleak_ex…
133 - tools/[mountsnoop](tools/mountsnoop.py): Trace mount and umount syscalls system-wide. [Examples](…
134 …ysqld_qslower.py): Trace MySQL server queries slower than a threshold. [Examples](tools/mysqld_qsl…
135 …ools/netqtop.c): Trace and display packets distribution on NIC queues. [Examples](tools/netqtop_ex…
136 - tools/[nfsslower](tools/nfsslower.py): Trace slow NFS operations. [Examples](tools/nfsslower_exam…
137 …dist.py): Summarize NFS operation latency distribution as a histogram. [Examples](tools/nfsdist_ex…
138 - tools/[offcputime](tools/offcputime.py): Summarize off-CPU time by kernel stack trace. [Examples]…
139 …e.py): Summarize blocked time by kernel off-CPU stack and waker stack. [Examples](tools/offwaketim…
140 - tools/[oomkill](tools/oomkill.py): Trace the out-of-memory (OOM) killer. [Examples](tools/oomkill…
141 - tools/[opensnoop](tools/opensnoop.py): Trace open() syscalls. [Examples](tools/opensnoop_example.…
142 - tools/[pidpersec](tools/pidpersec.py): Count new processes (via fork). [Examples](tools/pidpersec…
143 - tools/[ppchcalls](tools/ppchcalls.py): Summarize ppc hcall counts and latencies. [Examples](tools…
144 …e.py): Profile CPU usage by sampling stack traces at a timed interval. [Examples](tools/profile_ex…
145 - tools/[readahead](tools/readahead.py): Show performance of read-ahead cache [Examples](tools/read…
146 …s/rdmaucma.py): Trace RDMA Userspace Connection Manager Access events. [Examples](tools/rdmaucma_e…
147 …ls/reset-trace.sh): Reset the state of tracing. Maintenance tool only. [Examples](tools/reset-trac…
148 - tools/[runqlat](tools/runqlat.py): Run queue (scheduler) latency as a histogram. [Examples](tools…
149 - tools/[runqlen](tools/runqlen.py): Run queue length as a histogram. [Examples](tools/runqlen_exam…
150 - tools/[runqslower](tools/runqslower.py): Trace long process scheduling delays. [Examples](tools/r…
151 - tools/[shmsnoop](tools/shmsnoop.py): Trace System V shared memory syscalls. [Examples](tools/shms…
152 - tools/[sofdsnoop](tools/sofdsnoop.py): Trace FDs passed through unix sockets. [Examples](tools/so…
153 …ls/slabratetop.py): Kernel SLAB/SLUB memory cache allocation rate top. [Examples](tools/slabrateto…
154 - tools/[softirqs](tools/softirqs.py): Measure soft IRQ (soft interrupt) event time. [Examples](to…
155 - tools/[solisten](tools/solisten.py): Trace TCP socket listen. [Examples](tools/solisten_example.t…
156 - tools/[sslsniff](tools/sslsniff.py): Sniff OpenSSL written and readed data. [Examples](tools/ssls…
157 …ls/stackcount.py): Count kernel function calls and their stack traces. [Examples](tools/stackcount…
158 - tools/[syncsnoop](tools/syncsnoop.py): Trace sync() syscall. [Examples](tools/syncsnoop_example.t…
159 - tools/[syscount](tools/syscount.py): Summarize syscall counts and latencies. [Examples](tools/sys…
160 - tools/[tcpaccept](tools/tcpaccept.py): Trace TCP passive connections (accept()). [Examples](tools…
161 - tools/[tcpconnect](tools/tcpconnect.py): Trace TCP active connections (connect()). [Examples](too…
162 …tools/tcpconnlat.py): Trace TCP active connection latency (connect()). [Examples](tools/tcpconnlat…
163 - tools/[tcpdrop](tools/tcpdrop.py): Trace kernel-based TCP packet drops with details. [Examples](t…
164 - tools/[tcplife](tools/tcplife.py): Trace TCP sessions and summarize lifespan. [Examples](tools/tc…
165 - tools/[tcpretrans](tools/tcpretrans.py): Trace TCP retransmits and TLPs. [Examples](tools/tcpretr…
166 - tools/[tcprtt](tools/tcprtt.py): Trace TCP round trip time. [Examples](tools/tcprtt_example.txt).
167 - tools/[tcpstates](tools/tcpstates.py): Trace TCP session state changes with durations. [Examples]…
168 - tools/[tcpsubnet](tools/tcpsubnet.py): Summarize and aggregate TCP send by subnet. [Examples](too…
169 - tools/[tcpsynbl](tools/tcpsynbl.py): Show TCP SYN backlog. [Examples](tools/tcpsynbl_example.txt).
170 …s/tcptop.py): Summarize TCP send/recv throughput by host. Top for TCP. [Examples](tools/tcptop_exa…
171 …py): Trace TCP established connections (connect(), accept(), close()). [Examples](tools/tcptracer_…
172 - tools/[tcpcong](tools/tcpcong.py): Trace TCP socket congestion control status duration. [Examples…
173 - tools/[threadsnoop](tools/threadsnoop.py): List new thread creation. [Examples](tools/threadsnoop…
174 …list.py): Display kernel tracepoints or USDT probes and their formats. [Examples](tools/tplist_exa…
175 - tools/[trace](tools/trace.py): Trace arbitrary functions, with filters. [Examples](tools/trace_ex…
176 - tools/[ttysnoop](tools/ttysnoop.py): Watch live output from a tty or pts device. [Examples](tools…
177 …py): Summarize method calls or Linux syscalls in high-level languages. [Examples](tools/lib/ucalls…
178 - tools/[uflow](tools/lib/uflow.py): Print a method flow graph in high-level languages. [Examples](…
179 - tools/[ugc](tools/lib/ugc.py): Trace garbage collection events in high-level languages. [Examples…
180 …object allocation events by object type and number of bytes allocated. [Examples](tools/lib/uobjne…
181 …ions, object allocations, exceptions and more in high-level languages. [Examples](tools/lib/ustat_…
182 …b/uthreads.py): Trace thread creation events in Java and raw pthreads. [Examples](tools/lib/uthrea…
183 - tools/[vfscount](tools/vfscount.py): Count VFS calls. [Examples](tools/vfscount_example.txt).
184 - tools/[vfsstat](tools/vfsstat.py): Count some VFS calls, with column output. [Examples](tools/vfs…
185 - tools/[virtiostat](tools/virtiostat.py): Show VIRTIO device IO statistics. [Examples](tools/virti…
186 …/wakeuptime.py): Summarize sleep to wakeup time by waker kernel stack. [Examples](tools/wakeuptime…
187 …dist.py): Summarize XFS operation latency distribution as a histogram. [Examples](tools/xfsdist_ex…
188 - tools/[xfsslower](tools/xfsslower.py): Trace slow XFS operations. [Examples](tools/xfsslower_exam…
189 …dist.py): Summarize ZFS operation latency distribution as a histogram. [Examples](tools/zfsdist_ex…
190 - tools/[zfsslower](tools/zfsslower.py): Trace slow ZFS operations. [Examples](tools/zfsslower_exam…
194 Examples:
196 - examples/networking/[distributed_bridge/](examples/networking/distributed_bridge): Distributed br…
197 - examples/networking/[http_filter/](examples/networking/http_filter): Simple HTTP filter example.
198 - examples/networking/[simple_tc.py](examples/networking/simple_tc.py): Simple traffic control exam…
199 - examples/networking/[simulation.py](examples/networking/simulation.py): Simulation helper.
200 …examples/networking/neighbor_sharing/[tc_neighbor_sharing.py](examples/networking/neighbor_sharing…
201 - examples/networking/[tunnel_monitor/](examples/networking/tunnel_monitor): Efficiently monitor tr…
202 - examples/networking/vlan_learning/[vlan_learning.py](examples/networking/vlan_learning/vlan_learn…
208 …: List all BPF programs loaded into the kernel. 'ps' for BPF programs. [Examples](introspection/bp…
238 * Examples for socket filters, tc classifiers, and kprobes
256 multiple granularities. See the code [here](examples/networking/tunnel_monitor).