trace-cmd/kernel-shark: Use one quick hash algorithm
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | trace-cmd: Make a global tracecmd_quick_hash() instead of a local knuth_hash()include/ lib/ | +29 | 0 replies | |
| 2/2 | kernel-shark: Increase the size of the task hashkernel-shark/ kernel-shark/ | +6 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Yordan Karadzhov (VMware) |
|---|---|
| 1/2 | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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(-)