Function report |
Source Code:kernel\trace\bpf_trace.c |
Create Date:2022-07-28 12:36:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:____bpf_send_signal
Proto:static inline __attribute__((__always_inline__)) u64 ____bpf_send_signal(u32 sig)
Type:u64
Parameter:
Type | Parameter | Name |
---|---|---|
u32 | sig |
720 | struct send_signal_irq_work * work = NULL |
727 | If Value for the false possibility is greater at compile time(flags & (I am a kernel thread | Getting shut down )) Then Return -EPERM |
729 | If Value for the false possibility is greater at compile time(uaccess_kernel()) Then Return -EPERM |
734 | If in_nmi() Then |
738 | If Value for the false possibility is greater at compile time(!Test if 'sig' is valid signal. Use this instead of testing _NSIG directly ) Then Return -EINVAL |
741 | work = this_cpu_ptr( & send_signal_work) |
742 | If atomic_read( & flags) & IRQ_WORK_BUSY Then Return -EBUSY |
749 | task = current process |
751 | irq_work_queue( & irq_work) |
752 | 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 |