Commit 35249679 authored by Tom Zanussi's avatar Tom Zanussi Committed by Zheng Zengkai
Browse files

selftests/ftrace: Update synthetic event syntax errors

stable inclusion
from stable-5.10.20
commit 31c2e369b5335d70e913afee3ae11e54d61afef2
bugzilla: 50608

--------------------------------

[ Upstream commit b5734e99 ]

Some of the synthetic event errors and positions have changed in the
code - update those and add several more tests.

Also add a runtime check to ensure that the kernel supports dynamic
strings in synthetic events, which these tests require.

Link: https://lkml.kernel.org/r/51402656433455baead34f068c6e9466b64df9c0.1612208610.git.zanussi@kernel.org



Fixes: 81ff92a9 (selftests/ftrace: Add test case for synthetic event syntax errors)
Reported-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: default avatarTom Zanussi <zanussi@kernel.org>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 958db41d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment