Re: [PATCH] perf tools: Do not rely on errno values for precise_ip fallback

2019-07-03 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 03, 2019 at 10:09:49AM +0200, Jiri Olsa escreveu: > Konstantin reported problem with default perf record command, > which fails on some AMD servers, because of the default maximum > precise config. > > The current fallback mechanism counts on getting ENOTSUP errno for > precise_ip fail

[PATCH] perf tools: Do not rely on errno values for precise_ip fallback

2019-07-03 Thread Jiri Olsa
Konstantin reported problem with default perf record command, which fails on some AMD servers, because of the default maximum precise config. The current fallback mechanism counts on getting ENOTSUP errno for precise_ip fails, but that's not the case on some AMD servers. We can fix this by removi