aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYafang Shao <[email protected]>2023-10-13 08:39:16 +0000
committerAndrii Nakryiko <[email protected]>2023-10-13 12:33:21 -0700
commit236334aeec0f93217cf9235f2004e61a0a1a5985 (patch)
tree2752c8b15edaa537be81e3beca7460a9eb0222c0 /tools/perf/scripts/python/export-to-postgresql.py
parentd2dc885b8c9ddb6fc374d93a87f8f2d1b97d2caf (diff)
bpf: Avoid unnecessary audit log for CPU security mitigations
Check cpu_mitigations_off() first to avoid calling capable() if it is off. This can avoid unnecessary audit log. Fixes: bc5bc309db45 ("bpf: Inherit system settings for CPU security mitigations") Suggested-by: Andrii Nakryiko <[email protected]> Signed-off-by: Yafang Shao <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/CAEf4Bza6UVUWqcWQ-66weZ-nMDr+TFU3Mtq=dumZFD-pSqU7Ow@mail.gmail.com/ Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions