Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:39:03 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:perf_swevent_add
Proto:static int perf_swevent_add(struct perf_event *event, int flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | event | |
int | flags |
8709 | swhash = this_cpu_ptr( & swevent_htable) |
8713 | If is_sampling_event(event) Then |
8714 | last_period = sample_period |
8718 | state = Not (flags & start the counter when adding ) |
8721 | If WARN_ON_ONCE(!head) Then Return -EINVAL |
8727 | Return 0 |
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 |