Function report |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-28 11:54:39 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Decrement the entries to the page that an event is on.* The event does not even need to exist, only the pointer* to the page it is on. This may only be called before the commit* takes place.
Proto:static inline void rb_decrement_entry(struct ring_buffer_per_cpu *cpu_buffer, struct ring_buffer_event *event)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct ring_buffer_per_cpu * | cpu_buffer | |
struct ring_buffer_event * | event |
3017 | bpage = committed pages |
3023 | If Value is more likely to compile time(Actual data page == (void * )addr) Then |
3024 | local_dec( & ries on this page ) |
3025 | Return |
3032 | rb_inc_page(cpu_buffer, & bpage) |
3034 | Do |
3035 | If Actual data page == addr Then |
3036 | local_dec( & ries on this page ) |
3037 | Return |
3039 | rb_inc_page(cpu_buffer, & bpage) |
Name | Describe |
---|---|
ring_buffer_discard_commit | g_buffer_commit_discard - discard an event that has not been committed*@buffer: the ring buffer*@event: non committed event to discard* Sometimes an event that is in the ring buffer needs to be ignored |
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 |