Actions
Feature #3692
openAdd ability to get information on structure variable initialization
Start date:
11/16/2012
Due date:
% Done:
0%
Estimated time:
Published in build:
e28f037
Description
So, having such the initialization of global variable with structure type:
we would like to obtain following information:
static struct usb_driver karma_driver = {
.name = "ums-karma",
.probe = karma_probe,
.disconnect = usb_stor_disconnect,
.suspend = usb_stor_suspend,
.resume = usb_stor_resume,
.reset_resume = usb_stor_reset_resume,
.pre_reset = usb_stor_pre_reset,
.post_reset = usb_stor_post_reset,
.id_table = karma_usb_ids,
.soft_unbind = 1,
.no_dynamic_id = 1,
};
we would like to obtain following information:
- "usb_driver" - structure name.
- "karma_driver" - variable name.
- "probe - karma_probe", ..., "post_reset - usb_stor_post_reset" - pairs of field name and function name (strings, numbers, variable names and so on are of no interest).
Files
Actions