函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_stack.c Create Date:2022-07-27 13:18:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:enable_stacktrace

函数原型:static __init int enable_stacktrace(char *str)

返回类型:int

参数:

类型参数名称
char *str
548  如果len等于str_has_prefix - Test if a string has a given prefix*@str: The string to test*@prefix: The string to see if @str starts with* A common way to test a prefix of a string is to do:* strncmp(str, prefix, sizeof(prefix) - 1)* But this can lead to bugs due to strncpy(stack_trace_filter_buf, str + len, COMMAND_LINE_SIZE)
551  stack_tracer_enabled等于1
552  返回:1