aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2019-03-07 16:28:35 -0800
committerLinus Torvalds <[email protected]>2019-03-07 18:32:01 -0800
commite29a70f1537b1225daceae8d34bf5bfb80546138 (patch)
tree27b91961f33676c2ce3a94cff02729dbdfd7795c /tools/perf/scripts/python
parentfdf13693d370653013eec3bc7f80a3f535001bf0 (diff)
checkpatch: add some new alloc functions to various tests
Many new generic allocation functions like the kvmalloc family have been added recently to the kernel. The allocation functions test now includes: o kvmalloc and variants o kstrdup_const o kmemdup_nul o dma_alloc_coherent o alloc_skb and variants Add a separate $allocFunctions variable to help make the allocation functions test a bit more readable. Miscellanea: o Use $allocFunctions in the unnecessary OOM message test and add exclude uses with __GFP_NOWARN o Use $allocFunctions in the unnecessary cast test o Add the kvmalloc family to the preferred sizeof alloc style foo = kvmalloc(sizeof(*foo), ...) Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions