#!/usr/bin/env stap global nfscalls probe begin { printf("Collecting data...\n") } probe kernel.function("*@fs/nfs") ?, module("nfs").function("*@fs/nfs/*") ? { nfscalls[probefunc()]++ } probe end { foreach (name in nfscalls- limit 20) printf("%10d %s\n", nfscalls[name], name) }