Re: [PATCH 1/5] tools lib traceevent: Add WARN and WARN_ONCE macros

2014-01-07 Thread Namhyung Kim
Hi Arnaldo, On Tue, 7 Jan 2014 11:07:47 -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Jan 07, 2014 at 12:00:08PM +0900, Namhyung Kim escreveu: >> They're copied from the perf code and will be used to print error >> message during trace_seq_printf() and friends. >> >> Suggested-by: Jiri Olsa

Re: [PATCH 1/5] tools lib traceevent: Add WARN and WARN_ONCE macros

2014-01-07 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 07, 2014 at 12:00:08PM +0900, Namhyung Kim escreveu: > They're copied from the perf code and will be used to print error > message during trace_seq_printf() and friends. > > Suggested-by: Jiri Olsa > Signed-off-by: Namhyung Kim We could take this opportunity and come up with

Re: [PATCH 1/5] tools lib traceevent: Add WARN and WARN_ONCE macros

2014-01-07 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 07, 2014 at 12:00:08PM +0900, Namhyung Kim escreveu: They're copied from the perf code and will be used to print error message during trace_seq_printf() and friends. Suggested-by: Jiri Olsa jo...@redhat.com Signed-off-by: Namhyung Kim namhy...@kernel.org We could take this

Re: [PATCH 1/5] tools lib traceevent: Add WARN and WARN_ONCE macros

2014-01-07 Thread Namhyung Kim
Hi Arnaldo, On Tue, 7 Jan 2014 11:07:47 -0300, Arnaldo Carvalho de Melo wrote: Em Tue, Jan 07, 2014 at 12:00:08PM +0900, Namhyung Kim escreveu: They're copied from the perf code and will be used to print error message during trace_seq_printf() and friends. Suggested-by: Jiri Olsa

[PATCH 1/5] tools lib traceevent: Add WARN and WARN_ONCE macros

2014-01-06 Thread Namhyung Kim
They're copied from the perf code and will be used to print error message during trace_seq_printf() and friends. Suggested-by: Jiri Olsa Signed-off-by: Namhyung Kim --- tools/lib/traceevent/event-utils.h | 22 ++ 1 file changed, 22 insertions(+) diff --git

[PATCH 1/5] tools lib traceevent: Add WARN and WARN_ONCE macros

2014-01-06 Thread Namhyung Kim
They're copied from the perf code and will be used to print error message during trace_seq_printf() and friends. Suggested-by: Jiri Olsa jo...@redhat.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/lib/traceevent/event-utils.h | 22 ++ 1 file changed, 22