Hello, everyone. I used cscope and found some problems.
Environment: vi 7.1 cscope : the latest one: 15.7a. Linux kernel: http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.33.y.git;a=summary Process: Host> git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.33.y.git Host> git describe v2.6.33.2 Host> cd linux-2.6.33.y Host> /usr/local/bin/cscope -bRkq Host> vi kernel/smp.c In the following function: int smp_call_function(void (*func)(void *), void *info, int wait) { preempt_disable(); smp_call_function_many(cpu_online_mask, func, info, wait); preempt_enable(); return 0; } Problem 1: In the vi windows, input the following command: : cs f c smp_call_function_many But it display that "no matches found for cscope query c for smp_call_function_many". But the next time I input the command, some results can be found. And the problem is only reproduced with -q option. Problem 2: I use the following command to find the definition of smp_call_function_many. : cs f g smp_call_function_many But only the following definition can be found. #define smp_call_function_many(mask, func, info, wait) \ (up_smp_call_function(func, info)) In fact, it's also defined in the same kernel/smp.c file. Problem 3: : cs f c smp_call_function_many although smp_call_function calls smp_call_function_many, it can't be found. Is there some workaround to solve the problem ? Thank you for your help. ------------------------------------------------------------------------------ _______________________________________________ Cscope-devel mailing list Cscope-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cscope-devel