Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:33:22 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Test whether two contexts are equivalent, i
Proto:static int context_equiv(struct perf_event_context *ctx1, struct perf_event_context *ctx2)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event_context * | ctx1 | |
struct perf_event_context * | ctx2 |
3110 | lockdep_assert_held( & Protect the states of the events in the list,* nr_active, and the list:) |
3111 | lockdep_assert_held( & Protect the states of the events in the list,* nr_active, and the list:) |
3118 | If ctx1 == These fields let us detect when two contexts have both* been cloned (inherited) from a common ancestor. && generation == parent_gen Then Return 1 |
3122 | If These fields let us detect when two contexts have both* been cloned (inherited) from a common ancestor. == ctx2 && parent_gen == generation Then Return 1 |
3134 | Return 0 |
Name | Describe |
---|---|
perf_event_context_sched_out |
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 |