Messages in this thread | | | From | Namhyung Kim <> | Subject | [PATCHSET 0/5] tools lib traceevent: Get rid of *die() calls finally!! (v2) | Date | Tue, 7 Jan 2014 12:00:07 +0900 |
| |
Hello,
I've added WARN_ONCE in TRACE_SEQ_CHECK() as Jiri said. Other patches are same as the privous version.
You can also get this on my 'libtraceevent/die-removal-v5' branch in my tree
git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git
Thanks, Namhyung
Namhyung Kim (5): tools lib traceevent: Add WARN and WARN_ONCE macros tools lib traceevent: Add state member to struct trace_seq tools lib traceevent: Check return value of realloc() tools lib traceevent: Get rid of malloc_or_die() in trace_seq_init() tools lib traceevent: Get rid of die() finally!!
tools/lib/traceevent/event-parse.h | 7 +++++ tools/lib/traceevent/event-utils.h | 26 ++++++++++++++--- tools/lib/traceevent/parse-utils.c | 44 ----------------------------- tools/lib/traceevent/trace-seq.c | 57 +++++++++++++++++++++++++++++++++----- 4 files changed, 79 insertions(+), 55 deletions(-)
-- 1.7.11.7
| |