Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:35:10 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Assume it's not an event with inherit set.
Proto:u64 perf_event_pause(struct perf_event *event, bool reset)
Type:u64
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | event | |
bool | reset |
5091 | ctx = perf_event_ctx_lock(event) |
5092 | WARN_ON_ONCE(inherit) |
5093 | Disable an event |
5094 | count = local64_read( & count) |
5095 | If reset Then local64_set( & count, 0) |
5097 | perf_event_ctx_unlock(event, ctx) |
5099 | Return count |
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 |