Re: [PATCH v3 0/2] perf: add support for logging debug messages to file

From: Jiri Olsa
Date: Mon Oct 07 2019 - 07:26:28 EST


On Fri, Oct 04, 2019 at 10:39:52AM +0800, Changbin Du wrote:
> When in TUI mode, it is impossible to show all the debug messages to
> console. This make it hard to debug perf issues using debug messages.
> This patch adds support for logging debug messages to file to resolve
> this problem.
>
> v3:
> o fix a segfault issue.

heya,
getting segfault for this:

[jolsa@krava perf]$ ./perf report -vv 2>out
Segmentation fault (core dumped)

jirka

> v2:
> o specific all debug options one time.
>
> Changbin Du (2):
> perf: support multiple debug options separated by ','
> perf: add support for logging debug messages to file
>
> tools/perf/Documentation/perf.txt | 15 ++--
> tools/perf/util/debug.c | 124 +++++++++++++++++++-----------
> 2 files changed, 90 insertions(+), 49 deletions(-)
>
> --
> 2.20.1
>