Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\hw_breakpoint.c Create Date:2022-07-28 13:43:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__modify_bp_slot

Proto:static int __modify_bp_slot(struct perf_event *bp, u64 old_type, u64 new_type)

Type:int

Parameter:

TypeParameterName
struct perf_event *bp
u64old_type
u64new_type
339  __release_bp_slot(bp, old_type)
341  err = Constraints to check before allowing this new breakpoint counter:* == Non-pinned counter == (Considered as pinned for now)* - If attached to a single cpu, check:* (per_cpu(info->flexible, cpu) || (per_cpu(info->cpu_pinned, cpu)* +
342  If err Then
351  WARN_ON(Constraints to check before allowing this new breakpoint counter:* == Non-pinned counter == (Considered as pinned for now)* - If attached to a single cpu, check:* (per_cpu(info->flexible, cpu) || (per_cpu(info->cpu_pinned, cpu)* + )
354  Return err
Caller
NameDescribe
modify_bp_slot