Function report |
Source Code:kernel\torture.c |
Create Date:2022-07-28 13:50:11 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Initialize torture module
Proto:bool torture_init_begin(char *ttype, int v)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| char * | ttype | |
| int | v |
| 664 | mutex_lock( & fullstop_mutex) |
| 665 | If (torture_type != NULL) Then |
| 666 | pr_alert("torture_init_begin: Refusing %s init: %s running.\n", ttype, torture_type) |
| 668 | pr_alert("torture_init_begin: One torture test at a time!\n") |
| 670 | Return false |
| 672 | torture_type = ttype |
| 674 | fullstop = Normal operation. |
| 675 | Return true |
| Name | Describe |
|---|---|
| rcu_torture_init | |
| rcu_perf_init | |
| lock_torture_init |
| 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 |