tools lib traceevent: Get rid of *die() calls finally!! (v2)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | tools lib traceevent: Add WARN and WARN_ONCE macrostools/ | +22 | 2 replies | |
| 2/5 | tools lib traceevent: Add state member to struct trace_seqtools/ tools/ | +45 | 2 replies | |
| 3/5 | tools lib traceevent: Check return value of realloc()tools/ | +9 | 0 replies | |
| 4/5 | tools lib traceevent: Get rid of malloc_or_die() in trace_seq_init()tools/ | +5 | 0 replies | |
| 5/5 | tools lib traceevent: Get rid of die() finally!!tools/ tools/ | +0 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCHSET 0/5] tools lib traceevent: Get rid of *die() calls finally!! (v2)
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(-)
Signature · 1 line
1.7.11.7