'`perf diff` not showing objects which are present in only 1 file

I am trying to inspect the difference between 2 perf reports before and after I apllied a patch. The patch certainly has new stack calls, and some of the old logic is removed. However, when I do perf diff old.data new.data, I am getting only the difference in time/cycles for objects which are in both files. How to see truely all differences? I could not find that in the man page.

I manually tried diff and comm, but the binary files produces from perf seem like no-go for these commands.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source