commit | d44848101fcd820c6ee29bba7fa175eb2e520a2d | [log] [tgz] |
---|---|---|
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | Fri Sep 20 11:15:28 2019 -0400 |
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Fri Sep 20 12:20:25 2019 -0400 |
tree | 49c27db48708c6a4a40aec1d7e360bf06e011e09 | |
parent | 6d458b27c6bb274919180460f40c2509171ffdd2 [diff] |
kernel-shark: Increase the size of the task hash When loading a data file that contained 100,000s of tasks, using a 256 bucket size hash crippled it. By increasing the hash to 2^16 (65536) it solves the issue (still small enough not to waste too much memory). Also switched to the tracecmd_quick_hash() which is basically the same as the local knuth_hash() function in libkshark.c. Link: http://lore.kernel.org/linux-trace-devel/20190828140016.3ce1be4f@gandalf.local.home Link: http://lore.kernel.org/linux-trace-devel/20190920152024.729716704@goodmis.org Reviewed-by: Yordan Karadzhov (VMware) <y.karadz@gmail.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>