commit | f7a7bd06d6c85eaf9b4a8eeb8dfa2735c1b68d0e | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@kernel.org> | Tue Sep 03 22:50:09 2024 -0700 |
committer | Namhyung Kim <namhyung@kernel.org> | Tue Sep 03 23:23:54 2024 -0700 |
tree | b21f66bc0627156617efaf6c94c54725dfd52aa8 | |
parent | 099103427b46dfa06898a52a0f4963a9b57edff5 [diff] |
perf tools: Check fallback error and order The perf_event_open might fail due to various reasons, so blindly reducing precise_ip level might not be the best way to deal with it. It seems the kernel return -EOPNOTSUPP when PMU doesn't support the given precise level. Let's try again with the correct error code. Signed-off-by: Namhyung Kim <namhyung@kernel.org>