diff options
author | Joe Perches <joe@perches.com> | 2013-07-04 00:05:36 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-04 01:07:45 +0200 |
commit | 351b2a1fe2d06f44b4c06d377744b2ac408b7407 (patch) | |
tree | 94566bc117b757bfab5c282d56c251121a7f33f9 /scripts/recordmcount.h | |
parent | checkpatch: allow longer logging function names (diff) | |
download | linux-351b2a1fe2d06f44b4c06d377744b2ac408b7407.tar.xz linux-351b2a1fe2d06f44b4c06d377744b2ac408b7407.zip |
checkpatch: cache last camelcase hash as .checkpatch-camelcase.<commit>
Add a file to cache the CamelCase variables found by <commit> to reduce
the time it takes to scan the include/ directory.
Filename is '.checkpatch-camelcase.<commit>' and it is created only only
if a .git directory exists.
<commit> is determined by the last non-merge commit id in the
include/ path.
Reduces checkpatch run time by ~12 cpu seconds on my little netbook.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/recordmcount.h')
0 files changed, 0 insertions, 0 deletions