summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorAmit Vadhavana <av2082000@gmail.com>2024-11-16 18:21:36 +0300
committerPaul Moore <paul@paul-moore.com>2024-12-19 02:14:29 +0300
commit7a9b65ab0abd52ae646ba327522315d7500a7d4f (patch)
tree7bff50c92a79b6c10293def394e1bb5758459fca /tools/perf/scripts/python/task-analyzer.py
parent012920131013208186ce0ded0ef1c47fa67a70f6 (diff)
downloadlinux-7a9b65ab0abd52ae646ba327522315d7500a7d4f.tar.xz
selftests: refactor the lsm `flags_overset_lsm_set_self_attr` test
Remove the temporary context variable `tctx` to simplify the code. use the original context `ctx` directly in calls to `lsm_get_self_attr`, eliminating redundancy without any functional changes. Reviewed-by: Casey Schaufler <casey@schaufler-ca.com> Reviewed-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: Amit Vadhavana <av2082000@gmail.com> [PM: subject tweak] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions