Function report |
Source Code:mm\kmemleak.c |
Create Date:2022-07-28 16:21:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kmemleak_update_trace - update object allocation stack trace*@ptr: pointer to beginning of the object* Override the object allocation stack trace for cases where the actual* allocation place is not always useful.
Proto:void __ref kmemleak_update_trace(const void *ptr)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const void * | ptr |
| 1017 | If Not set if tracing memory operations is enabled || IS_ERR_OR_NULL(ptr) Then Return |
| 1021 | If Not object Then |
| 1023 | Print a warning and dump the stack trace.("Updating stack trace for unknown object at %p\n", ptr) |
| 1026 | Return |
| 1029 | spin_lock_irqsave( & lock, flags) |
| 1031 | spin_unlock_irqrestore( & lock, flags) |
| Name | Describe |
|---|---|
| radix_tree_node_alloc | This assumes that the caller has performed appropriate preallocation, and* that the caller has pinned this thread of control to the current CPU. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |