Re: [PATCH 4/8] perf tools: Introduce struct perf_log

2014-01-03 Thread Namhyung Kim
Hi David, On Thu, 26 Dec 2013 09:51:25 -0500, David Ahern wrote: > On 12/26/13, 12:38 AM, Namhyung Kim wrote: >> diff --git a/tools/perf/util/log.c b/tools/perf/util/log.c >> new file mode 100644 >> index ..3838d49f82de >> --- /dev/null >> +++ b/tools/perf/util/log.c >> @@ -0,0 +1,105

Re: [PATCH 4/8] perf tools: Introduce struct perf_log

2014-01-03 Thread Namhyung Kim
Hi Arnaldo, On Thu, 26 Dec 2013 11:50:51 -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Dec 26, 2013 at 02:38:00PM +0900, Namhyung Kim escreveu: >> From: 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. [S

Re: [PATCH 4/8] perf tools: Introduce struct perf_log

2013-12-26 Thread David Ahern
On 12/26/13, 12:38 AM, Namhyung Kim wrote: diff --git a/tools/perf/util/log.c b/tools/perf/util/log.c new file mode 100644 index ..3838d49f82de --- /dev/null +++ b/tools/perf/util/log.c @@ -0,0 +1,105 @@ +#include +#include +#include "util/debug.h" + +#define LINEMAP_GROW 128 + +st

Re: [PATCH 4/8] perf tools: Introduce struct perf_log

2013-12-26 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 26, 2013 at 02:38:00PM +0900, Namhyung Kim escreveu: > From: 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/

[PATCH 4/8] perf tools: Introduce struct perf_log

2013-12-25 Thread Namhyung Kim
From: 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| 3 ++ tools/perf/util/debug.h | 15 +++ tools/perf/util/log