I want to profile a program which is basically an infinite loop with two process. I normally profile my programs with
perf record -a --call-graph dwarf