aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2015-06-11 14:02:57 +0200
committerGreg Kroah-Hartman <[email protected]>2015-06-11 09:06:11 -0700
commit6b0e43db2855db06b822cde88416366e985cc113 (patch)
tree883e303b35e8a26ab57f613337adfa4cfd760ff7 /tools/perf/scripts/python/event_analyzing_sample.py
parentfea2e68e21f88f6694540bafc2c22e797f2f4bda (diff)
lustre: obdclass: linux: Replace uses of OBD_{ALLOC, FREE}_LARGE
Replace uses of OBD_ALLOC_LARGE by libcfs_kvzalloc and OBD_FREE_LARGE by kvfree. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression ptr,size; @@ - OBD_ALLOC_LARGE(ptr,size) + ptr = libcfs_kvzalloc(size, GFP_NOFS) @@ expression ptr,size; @@ - OBD_FREE_LARGE(ptr, size); + kvfree(ptr); // </smpl> Signed-off-by: Julia Lawall <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions