sudo perf record -a -g -- \ nbdkit -U - null 1G --run 'export uri; fio nbd.fio'
-a → record the whole system
-g → use frame pointers