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

From: Changbin Du
Date: Thu Oct 03 2019 - 22:40:15 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.

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 | 15 ++--
tools/perf/util/debug.c | 124 +++++++++++++++++++-----------
2 files changed, 90 insertions(+), 49 deletions(-)

--
2.20.1