Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kallsyms.c Create Date:2022-07-28 11:00:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kallsyms_for_perf

Proto:static inline int kallsyms_for_perf(void)

Type:int

Parameter:Nothing

637  Return 0
Caller
NameDescribe
kallsyms_show_valueWe show kallsyms information even to normal users if we've enabled* kernel profiling and are explicitly not paranoid (so kptr_restrict* is clear, and sysctl_perf_event_paranoid isn't set).* Otherwise, require CAP_SYSLOG (assuming kptr_restrict isn't set to