powerpc/perf: Drop the case of returning 0 as instruction pointer
authorKajol Jain <kjain@linux.ibm.com>
Wed, 18 Aug 2021 17:15:55 +0000 (22:45 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 25 Aug 2021 12:38:19 +0000 (22:38 +1000)
commitcc90c6742ef5b438f4cb86029d7a794bd0a44a06
tree5c27230a6bace8bf164d323536e0ecddec7953da
parentb1643084d164cea0c107a39bcdf0119fc52619af
powerpc/perf: Drop the case of returning 0 as instruction pointer

Drop the case of returning 0 as instruction pointer since kernel
never executes at 0 and userspace almost never does either.

Fixes: e6878835ac47 ("powerpc/perf: Sample only if SIAR-Valid bit is set in P7+")
Signed-off-by: Kajol Jain <kjain@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210818171556.36912-2-kjain@linux.ibm.com
arch/powerpc/perf/core-book3s.c