Function report |
Source Code:lib\dynamic_debug.c |
Create Date:2022-07-28 07:15:38 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Search the tables for _ddebug's which match the given `query' and* apply the `flags' and `mask' to them. Returns number of matching* callsites, normally the same as number of changes. If verbose,* logs the changes. Takes ddebug_lock.
Proto:static int ddebug_change(const struct ddebug_query *query, unsigned int flags, unsigned int mask)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct ddebug_query * | query | |
| unsigned int | flags | |
| unsigned int | mask |
| 146 | nfound = 0 |
| 150 | mutex_lock( & ddebug_lock) |
| 158 | When i < num_ddebugs cycle |
| 181 | If first_lineno && lineno < first_lineno Then Continue |
| 184 | If last_lineno && lineno > last_lineno Then Continue |
| 188 | nfound++ |
| 201 | vpr_info("changed %s:%d [%s]%s =%s\n", Return the path relative to source root , lineno, mod_name, function, rmat a string into buf[] which describes the _ddebug's flags ) |
| 208 | mutex_unlock( & ddebug_lock) |
| 213 | Return nfound |
| Name | Describe |
|---|---|
| ddebug_exec_query |
| 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 |