Skip to content

trace-cmd/kernel-shark: Use one quick hash algorithm

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: Make a global tracecmd_quick_hash() instead of a local knuth_hash()include/trace-cmd/trace-filter-hash.h lib/trace-cmd/trace-filter-hash.c+29 -150 replies
2/2kernel-shark: Increase the size of the task hashkernel-shark/src/libkshark.c kernel-shark/src/libkshark.h+6 -151 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchYordan Karadzhov (VMware)
1/2
2/2R-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 [PATCH 0/2] trace-cmd/kernel-shark: Use one quick hash algorithm

Instead of having multiple "knuth_hash()" static functions, make one generic tracecmd_quick_hash() function and use that. It also adds a "bits" field so that the result can be limited to any power of 2 that is less than 2^32.

Steven Rostedt (VMware) (2):
trace-cmd: Make a global tracecmd_quick_hash() instead of a local knuth_hash()
kernel-shark: Increase the size of the task hash

----

 include/trace-cmd/trace-filter-hash.h | 24 ++++++++++++++++++++++++
 kernel-shark/src/libkshark.c          | 18 ++++--------------
 kernel-shark/src/libkshark.h          |  3 ++-
 lib/trace-cmd/trace-filter-hash.c     | 20 +++++---------------
 4 files changed, 35 insertions(+), 30 deletions(-)