xref: /linux/tools/testing/selftests/ublk/trace/count_ios_per_tid.bt (revision bfb4a6c721517a11b277e8841f8a7a64b1b14b72)
1/*
2 * Tabulates and prints I/O completions per thread for the given device
3 *
4 * $1: dev_t
5*/
6tracepoint:block:block_rq_complete
7{
8	if (args.dev == $1) {
9		@[tid] = count();
10	}
11}
12