[PATCH 1/5] perf tools: Introduce struct perf_log

2014-01-13 Thread Namhyung Kim
Add new functions to save error messages in a temp file. It'll be used by some UI front-ends to see the messages. Signed-off-by: Namhyung Kim --- tools/perf/Makefile.perf | 1 + tools/perf/perf.c| 5 +++ tools/perf/util/debug.h | 15 +++ tools/perf/util/log.c| 115

[PATCH 1/5] perf tools: Introduce struct perf_log

2014-01-13 Thread Namhyung Kim
Add new functions to save error messages in a temp file. It'll be used by some UI front-ends to see the messages. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/Makefile.perf | 1 + tools/perf/perf.c| 5 +++ tools/perf/util/debug.h | 15 +++