aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHe Zhe <[email protected]>2021-02-23 16:25:34 +0800
committerWill Deacon <[email protected]>2021-02-23 10:38:27 +0000
commitd47422d953e258ad587b5edf2274eb95d08bdc7d (patch)
tree5bdae6ea1498aaa47c24049d03633b37908980a2 /tools/perf/scripts/python/export-to-postgresql.py
parent2596b6ae412be3d29632efc63976a2132032e620 (diff)
arm64: uprobe: Return EOPNOTSUPP for AARCH32 instruction probing
As stated in linux/errno.h, ENOTSUPP should never be seen by user programs. When we set up uprobe with 32-bit perf and arm64 kernel, we would see the following vague error without useful hint. The sys_perf_event_open() syscall returned with 524 (INTERNAL ERROR: strerror_r(524, [buf], 128)=22) Use EOPNOTSUPP instead to indicate such cases. Signed-off-by: He Zhe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions