Skip to content

tools lib traceevent: Get rid of *die finally!! (v3)

Namhyung Kim lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8tools include: Move perf's linux/compiler.h to a generic placetools/include/linux/compiler.h tools/perf/Makefile.perf tools/perf/config/Makefile +1 more+32 -310 replies
2/8tools include: Define likely/unlikely in linux/compiler.htools/include/linux/compiler.h+8 -00 replies
3/8tools include: Move perf's bug.h to a generic placetools/include/asm/bug.h tools/perf/Makefile.perf tools/perf/util/include/asm/bug.h+24 -230 replies
4/8tools include: Include <linux/compiler.h> from asm/bug.htools/include/asm/bug.h+2 -00 replies
5/8tools lib traceevent: Add state member to struct trace_seqtools/lib/traceevent/Makefile tools/lib/traceevent/event-parse.h tools/lib/traceevent/trace-seq.c+49 -60 replies
6/8tools lib traceevent: Check return value of realloc()tools/lib/traceevent/trace-seq.c+9 -40 replies
7/8tools lib traceevent: Get rid of malloc_or_die() in trace_seq_init()tools/lib/traceevent/trace-seq.c+5 -20 replies
8/8tools lib traceevent: Get rid of die() finally!!tools/lib/traceevent/event-utils.h tools/lib/traceevent/parse-utils.c+0 -480 replies

Reviews trailers per patch

4 of 8 patches have a Reviewed-by or Acked-by.

PatchJiri Olsa
1/8
2/8
3/8
4/8
5/8A-b
6/8A-b
7/8A-b
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCHSET 0/8] tools lib traceevent: Get rid of *die finally!! (v3)

Hello,

* changes in v3)
- move related header files to tools/include/ (Arnaldo)
- add WARN_ONCE() when a trace_seq misused (Jiri)
- add ack's from Jiri

You can also get this on the 'libtraceevent/die-removal-v6' branch in my tree

git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git

Any comments are welcome, thanks
Namhyung

Namhyung Kim (8):
tools include: Move perf's linux/compiler.h to a generic place tools include: Define likely/unlikely in linux/compiler.h tools include: Move perf's bug.h to a generic place
tools include: Include <linux/compiler.h> from asm/bug.h 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/include/asm/bug.h                  |   25 +++++++++++++
 tools/include/linux/compiler.h           |   38 ++++++++++++++++++++
 tools/lib/traceevent/Makefile            |    2 +-
 tools/lib/traceevent/event-parse.h       |    7 ++++
 tools/lib/traceevent/event-utils.h       |    4 ---
 tools/lib/traceevent/parse-utils.c       |   44 -----------------------
 tools/lib/traceevent/trace-seq.c         |   58 ++++++++++++++++++++++++++----
 tools/perf/Makefile.perf                 |    4 +--
 tools/perf/config/Makefile               |    1 +
 tools/perf/util/include/asm/bug.h        |   22 ------------
 tools/perf/util/include/linux/compiler.h |   30 ----------------
 11 files changed, 125 insertions(+), 110 deletions(-)
 create mode 100644 tools/include/asm/bug.h
 create mode 100644 tools/include/linux/compiler.h
 delete mode 100644 tools/perf/util/include/asm/bug.h
 delete mode 100644 tools/perf/util/include/linux/compiler.h
Signature · 1 line
1.7.9.2