Re: [PATCH] perf tools: check perf_event_paranoid and kptr_restrict on 'perf top'

2021-02-23 Thread Jiri Olsa
On Tue, Feb 23, 2021 at 02:24:40PM +0800, Jackie Liu wrote: > Perf top will segfault, we should give prompt information like perf > record instead of crashing directly. > > Cc: Peter Zijlstra > Cc: Ingo Molnar > Cc: Arnaldo Carvalho de Melo > Cc: Mark Rutland > Cc: Alexander Shishkin > Cc:

[PATCH] perf tools: check perf_event_paranoid and kptr_restrict on 'perf top'

2021-02-22 Thread Jackie Liu
Perf top will segfault, we should give prompt information like perf record instead of crashing directly. Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Mark Rutland Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Jackie Liu ---