summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorCasey Schaufler <casey@schaufler-ca.com>2024-07-11 00:32:27 +0300
committerPaul Moore <paul@paul-moore.com>2024-07-29 23:54:51 +0300
commit09001284eebfc1b684e81d1db0f006787d35f3e1 (patch)
tree6cd87b50ab6b7e30ba6e3299a264055bbdb89ff3 /tools/perf/scripts/python/stackcollapse.py
parent5f8d28f6d7d568dbbc8c5bce94894474c07afd4f (diff)
downloadlinux-09001284eebfc1b684e81d1db0f006787d35f3e1.tar.xz
lsm: add helper for blob allocations
Create a helper function lsm_blob_alloc() for general use in the hook specific functions that allocate LSM blobs. Change the hook specific functions to use this helper. This reduces the code size by a small amount and will make adding new instances of infrastructure managed security blobs easier. Signed-off-by: Casey Schaufler <casey@schaufler-ca.com> Reviewed-by: John Johansen <john.johansen@canonical.com> [PM: subject tweak] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions