summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2024-08-07 04:11:32 +0300
committerChuck Lever <chuck.lever@oracle.com>2024-09-21 02:29:23 +0300
commit73598a0cfb21fb21928e638f7f21be6021ac2a16 (patch)
tree266aeb2e0ee1ea7f5c5ce7b78264baa61030c6cb /tools/perf/scripts/python/stackcollapse.py
parentc9f10f811cf707e7d7a33e9f7ff678aab9f85551 (diff)
downloadlinux-73598a0cfb21fb21928e638f7f21be6021ac2a16.tar.xz
nfsd: don't allocate the versions array.
Instead of using kmalloc to allocate an array for storing active version info, just declare an array to the max size - it is only 5 or so. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions