var count=0; trace ftrace:function /ip==driver_read*/ { print("driverread ") count+=1; } trace_end { print("driverread hist:") print(count) }