xref: /linux/tools/testing/selftests/ublk/trace/count_ios_per_tid.bt (revision a34b0e4e21d6be3c3d620aa7f9dfbf0e9550c19e)
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