function pfp --description 'Select a process to run perf top'
set proc (ps -ef | fzf | awk '{print $2}')
if test -n "$proc"
perf top -p $proc
end