Skip to content

trace-cmd: Some more minor updates

Steven Rostedt linux-trace-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2trace-cmd: Use "exists" instead of "exist"include/tracefs/tracefs.h lib/tracefs/tracefs-instance.c tracecmd/trace-record.c +1 more+24 -240 replies
2/2trace-cmd: Optimize check_file_exists()lib/tracefs/tracefs-instance.c+1 -60 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchTzvetomir (VMware) Stoyanov
SeriesR-b
1/2
2/2

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

Read the v1 thread

Cover letter [PATCH 0/2] trace-cmd: Some more minor updates

These are minor changes and instead of having Tzvetomir resend the patches with the updates, I just made the changes.

First patch is to change the grammar of the function names that have "file_exist" and "dir_exist" to "file_exists" and "dir_exists" respectively, as they sound better for a native English speaker.

The second is just a micro-optimization of the return code of check_file_exists().

Steven Rostedt (VMware) (2):
trace-cmd: Use "exists" instead of "exist"
trace-cmd: Optimize check_file_exists()

----

 include/tracefs/tracefs.h      |  4 ++--
 lib/tracefs/tracefs-instance.c | 21 ++++++++-------------
 tracecmd/trace-record.c        |  2 +-
 utest/tracefs-utest.c          | 28 ++++++++++++++--------------
 4 files changed, 25 insertions(+), 30 deletions(-)