Bug 7609 - tracing/kprobes: Fix the order of argument descriptions
Summary: tracing/kprobes: Fix the order of argument descriptions
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: general/others (show other bugs) general/others
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: maqiao
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-22 15:50 UTC by zhujun
Modified: 2023-11-22 16:13 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zhujun cmss_group 2023-11-22 15:50:59 UTC
The order of descriptions should be consistent with the argument list of
the function, so "kretprobe" should be the second one.

int __kprobe_event_gen_cmd_start(struct dynevent_cmd *cmd, bool kretprobe,
                                 const char *name, const char *loc, ...)



Additional info:

社区有patch已经解决
tracing/kprobes: Fix the order of argument descriptions

commit 3b092dfdabf21c4d580a2077d2a666d6e1e3fbd2 

Reference:https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.10.y&id=3b092dfdabf21c4d580a2077d2a666d6e1e3fbd2

git cherry-pick -s 3b092dfdab(with stable-v5.10.201 repo added)
Comment 1 小龙 admin 2023-11-22 16:13:09 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2448