Skip to content

Changes to trace-cmd logs

Tzvetomir Stoyanov (VMware) linux-trace-devel 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/26 patches 0 repliesNew
  2. v2 posting 1/28 patches 6 repliesSuperseded
  3. v18 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Reverted back the weak definitions of log functions.
- Fixed a typo in a variable name.

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6trace-cmd library: Add log levelsinclude/trace-cmd/trace-cmd.h lib/trace-cmd/trace-util.c+24 -20 replies
2/6trace-cmd library: Document the API for log levelsDocumentation/libtracecmd/libtracecmd-log.txt Documentation/libtracecmd/libtracecmd.txt+81 -00 replies
3/6trace-cmd library: Renamed tracecmd_fatal() to tracecmd_critical()lib/trace-cmd/include/trace-cmd-local.h lib/trace-cmd/trace-input.c lib/trace-cmd/trace-util.c+9 -100 replies
4/6trace-cmd library: Set debug log level in debug modelib/trace-cmd/trace-util.c+5 -00 replies
5/6trace-cmd report: Set the log level with -V and -q optionstracecmd/trace-read.c+2 -00 replies
6/6trace-cmd: Add new function to set log leveltracecmd/include/trace-local.h tracecmd/trace-cmd.c+42 -00 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/6] Changes to trace-cmd logs

Recently changes in traceevent and tracefs libraries were introduced: log levels and new APIs to modify them. As trace-cmd library uses traceevent and tracefs libraries, those changes affect trace-cmd as well.

v2 changes:
- Reverted back the weak definitions of log functions.
- Fixed a typo in a variable name.

Tzvetomir Stoyanov (VMware) (6):
trace-cmd library: Add log levels
trace-cmd library: Document the API for log levels trace-cmd library: Renamed tracecmd_fatal() to tracecmd_critical() trace-cmd library: Set debug log level in debug mode trace-cmd report: Set the log level with -V and -q options
trace-cmd: Add new function to set log level

 Documentation/libtracecmd/libtracecmd-log.txt | 78 +++++++++++++++++++
 Documentation/libtracecmd/libtracecmd.txt     |  3 +
 include/trace-cmd/trace-cmd.h                 |  2 +
 lib/trace-cmd/include/trace-cmd-local.h       |  2 +-
 lib/trace-cmd/trace-input.c                   | 12 +--
 lib/trace-cmd/trace-util.c                    | 34 ++++++--
 tracecmd/include/trace-local.h                |  2 +
 tracecmd/trace-cmd.c                          | 40 ++++++++++
 tracecmd/trace-read.c                         |  2 +
 9 files changed, 163 insertions(+), 12 deletions(-)
 create mode 100644 Documentation/libtracecmd/libtracecmd-log.txt
Signature · 1 line
2.31.1