For example, a macro in serial driver 8250.c , SERIAL_PORT_DFNS ,I
can't find where it is implement.
Is there any solutions to find a macro defination in code ?
Thx
2010/6/18 wilbur.chan [off-list ref]:
For example, a macro in serial driver 8250.c , SERIAL_PORT_DFNS ,I
can't find where it is implement.
Is there any solutions to find a macro defination in code ?
Thx
Yes, use the lxr engine [1].
[1] http://lxr.linux.no
On Sat, 2010-06-19 at 00:47 +0800, wilbur.chan wrote:
For example, a macro in serial driver 8250.c , SERIAL_PORT_DFNS ,I
can't find where it is implement.
It looks to be in 8250.c, so I don't know why you can't find it.
Is there any solutions to find a macro defination in code ?
# make tags
# vi -t SERIAL_PORT_DFNS
Or in general:
http://ctags.sourceforge.net/
cheers