Function report | 
Source Code:kernel\gcov\fs.c | 
Create Date:2022-07-28 11:31:33 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Given a string <path> representing a file path of format:* path/to/file.gcda* construct and return a new string:* <dir/>path/to/file.<ext>
Proto:static char *link_target(const char *dir, const char *path, const char *ext)
Type:char
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const char * | dir | |
| const char * | path | |
| const char * | ext | 
| 309 | copy = kstrdup(path, GFP_KERNEL) | 
| 310 | If Not copy Then Return NULL | 
| 312 | old_ext = strrchr - Find the last occurrence of a character in a string*@s: The string to be searched*@c: The character to search for | 
| 317 | Else target = kasprintf(GFP_KERNEL, "%s.%s", copy, ext) | 
| 321 | Return target | 
| Name | Describe | 
|---|---|
| get_link_target | Construct a string representing the symbolic link target for the given* gcov data file name and link type. Depending on the link type and the* location of the data file, the link target can either point to a | 
| 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  |