| Function report | 
| Source Code: kernel\taskstats.c | Create Date:2022-07-28 11:49:31 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:taskstats_tgid_alloc
Proto:static struct taskstats *taskstats_tgid_alloc(struct task_struct *tsk)
Type:struct taskstats
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct task_struct * | tsk | 
| 556 | sig = Signal handlers: | 
| 560 | stats = smp_load_acquire( & stats) | 
| 561 | If stats || thread_group_empty(tsk) Then Return stats | 
| 567 | spin_lock_irq( & siglock) | 
| 569 | If Not stats Then | 
| 578 | spin_unlock_irq( & siglock) | 
| 583 | Return stats | 
| Name | Describe | 
|---|---|
| taskstats_exit | Send pid data out on exit | 
| 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 |