[RESEND RFC PATCH 4/5] msghash: Add userland msghash tool

2013-07-25 Thread Hidehiro Kawai
This patch adds scripts/msghash/msghash. msghash scans a kmsg_meta table between __start___kmsg_meta to __stop___kmsg_meta in the target object file (vmlinux), computes a hash value for each message format string, then replaces the format string with the hash value. Valid flags are also set to en

[RFC PATCH 4/5] msghash: Add userland msghash tool

2013-07-02 Thread Hidehiro Kawai
This patch adds scripts/msghash/msghash. msghash scans a kmsg_meta table between __start___kmsg_meta to __stop___kmsg_meta in the target object file (vmlinux), computes a hash value for each message format string, then replaces the format string with the hash value. Valid flags are also set to en