libtraceevent: Copy parsing functions from trace-cmd
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 0 repliesNew
- v25 patches 0 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | libtraceevent: Update gitignore.gitignore Documentation/ | +8 | 0 replies | |
| 2/5 | libtraceevent: Fix dependencies in Documentation MakefileDocumentation/ | +17 | 0 replies | |
| 3/5 | libtraceevent: Add the API tep_parse_kallsyms()Documentation/ src/ src/ | +166 | 0 replies | |
| 4/5 | libtraceevent: Add the API tep_parse_saved_cmdlines()Documentation/ src/ src/ | +71 | 0 replies | |
| 5/5 | libtraceevent: Add the API tep_parse_printk_formats()Documentation/ src/ src/ | +80 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/5] libtraceevent: Copy parsing functions from trace-cmd
From: "Steven Rostedt (VMware)" <[email protected]>
Currently, trace-cmd does the work of parsing kallsyms, saved_cmdlines, and printk_formats and feeding it to the libtraceevent tep handle. When starting to write code snippets that work directly with libtracefs and libtraceevent, I found that I need this functionality as well. But this code doesn't need libtracecmd. As these files exist in /proc and in the tracefs directly, just like we have events and headers that get parsed by libtraceevent, add this functionality directly to libtraceevent, as libtraceevent is made to parse files for processing of events, and all of the above do exactly that.
Changes since version 2:
Right after sending v1, I found that patch 2 had a small bug on install the documentation. Resending the whole series with the fix so that patchwork picks it up correctly.
Steven Rostedt (VMware) (5):
libtraceevent: Update gitignore
libtraceevent: Fix dependencies in Documentation Makefile
libtraceevent: Add the API tep_parse_kallsyms()
libtraceevent: Add the API tep_parse_saved_cmdlines()
libtraceevent: Add the API tep_parse_printk_formats()
.gitignore | 5 + Documentation/.gitignore | 3 + Documentation/Makefile | 28 ++-- Documentation/libtraceevent-parse-files.txt | 149 ++++++++++++++++++ src/event-parse.c | 161 ++++++++++++++++++++ src/event-parse.h | 3 + 6 files changed, 338 insertions(+), 11 deletions(-) create mode 100644 Documentation/.gitignore create mode 100644 Documentation/libtraceevent-parse-files.txt
Signature · 1 line
2.29.2