While trying to use pfmon for my application with "--follow-pthread/fork/exec/all" and "--trigger-code/data-start"
options used together, I found it to be not working. I did a little modification and now its working.
Please see the Patchfile for the modification.
pfmon --follow-pthread --trigger-code-start=infinite_loop_0 --no-cmd-out -t5 -eL1D_READ_MISSES_ALL ./a.out