[PATCH v2 1/3] perf tools powerpc: Fix callchain ip filtering

2018-04-18 Thread Sandipan Das
For powerpc64, if a probe is added for a function without specifying a line number, the corresponding trap instruction is placed at offset 0 (for big endian) or 8 (for little endian) from the start address of the function. This address is in the function prologue and the trap instruction preceeds

[PATCH v2 1/3] perf tools powerpc: Fix callchain ip filtering

2018-04-18 Thread Sandipan Das
For powerpc64, if a probe is added for a function without specifying a line number, the corresponding trap instruction is placed at offset 0 (for big endian) or 8 (for little endian) from the start address of the function. This address is in the function prologue and the trap instruction preceeds