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

From: Changbin Du
Date: Thu Oct 17 2019 - 20:28:26 EST


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.

v5:
o doc default log path.
v4:
o fix another segfault.
v3:
o fix a segfault issue.
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 | 16 ++--
tools/perf/util/debug.c | 124 ++++++++++++++++++++----------
2 files changed, 92 insertions(+), 48 deletions(-)

--
2.20.1