linux/tools/perf/scripts/python/bin/net_dropmonitor-record

#!/bin/bash
perf record -e skb:kfree_skb $@