Skip to content

trace-cruncher: Refactor instances and kprobes

Yordan Karadzhov (VMware) linux-trace-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 1 replyIn review
  2. v14 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Adding patches [PATCH 3/7, 6/7, 7/7]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7trace-cruncher: Use proper naming in common.hsrc/common.h+5 -50 replies
2/7trace-cruncher: Add type checking for the custom Python typessrc/common.h+5 -00 replies
3/7trace-cruncher: Allow for detachable custom objectssrc/common.h src/ftracepy-utils.c src/ftracepy-utils.h +1 more+47 -50 replies
4/7trace-cruncher: Define Python type for instancessrc/ftracepy-utils.c src/ftracepy-utils.h src/ftracepy.c+26 -00 replies
5/7trace-cruncher: Refactor the way libtracefs instances are handledsrc/ftracepy-utils.c src/ftracepy-utils.h src/ftracepy.c +2 more+242 -5010 replies
6/7trace-cruncher: Define Python type for kprobessrc/ftracepy-utils.c src/ftracepy-utils.h src/ftracepy.c+80 -00 replies
7/7trace-cruncher: Refactor the way kprobes are handledsrc/ftracepy-utils.c src/ftracepy-utils.h src/ftracepy.c +2 more+165 -2700 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/7] trace-cruncher: Refactor instances and kprobes

We simplify the way kprobes and tracefs instances are handled by the Python module. The need of storing all kprobes and instances created by the module in a binary search tree is eliminated by defining new custom Python types for those objects.

Changes in v2:
- Adding patches [PATCH 3/7, 6/7, 7/7]

Yordan Karadzhov (VMware) (7):
trace-cruncher: Use proper naming in common.h
trace-cruncher: Add type checking for the custom Python types
trace-cruncher: Allow for detachable custom objects
trace-cruncher: Define Python type for instances
trace-cruncher: Refactor the way libtracefs instances are handled
trace-cruncher: Define Python type for kprobes
trace-cruncher: Refactor the way kprobes are handled

 src/common.h                                  |  34 +-
 src/ftracepy-utils.c                          | 669 +++++++-----------
 src/ftracepy-utils.h                          |  65 +-
 src/ftracepy.c                                | 145 ++--
 tests/1_unit/test_01_ftracepy_unit.py         | 288 +++-----
 .../test_01_ftracepy_integration.py           |  56 +-
 tracecruncher/ft_utils.py                     |  14 +-
 7 files changed, 530 insertions(+), 741 deletions(-)
Signature · 1 line
2.30.2