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:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Allow the kernel debugger to reserve breakpoint slots without* taking a lock using the dbg_* variant of for the reserve and* release breakpoint slots.

Proto:int dbg_reserve_bp_slot(struct perf_event *bp)

Type:int

Parameter:

TypeParameterName
struct perf_event *bp
374  If mutex_is_locked( & Serialize accesses to the above constraints ) Then Return -1
377  Return 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)* +
Caller
NameDescribe
hw_break_reserve_slot