On Thu, Apr 24, 2014 at 05:55:21AM +0000, Drokin, Oleg wrote: > Hello! > > On Apr 23, 2014, at 11:14 PM, Peng Tao wrote: > >> Btw, what's the trick to navigating the lustre source? I normally do > >> a make cscope but that doesn't work and I am having a very hard time > >> with this code. > >> > > I use cscope + ctags to navigate the lustre source. I guess you hit > > some dead corners mainly on macros like > > vim drivers/staging/lustre/lustre/include/obd_class.h +323 > > 323 #define OBT(dev) (dev)->obd_type > > 324 #define OBP(dev, op) (dev)->obd_type->typ_dt_ops->o_ ## op > > 325 #define MDP(dev, op) (dev)->obd_type->typ_md_ops->m_ ## op > > 326 #define CTXTP(ctxt, op) (ctxt)->loc_logops->lop_##op > > > > These macros did hit me as well when I first started reading the > > lustre code. I guess we should get rid of them somehow in the end, is > > it correct Andreas and Oleg? > > I don't really use either cscope or ctags. > I'm ok if we can git rid of them in some way that preserves the > intended functionality, I guess, all without actually spelling out > every method possible by hand. Don't do that. Those things are fine, my problem is something more basic. I should be setting up cscope manually instead of using "make cscope." regards, dan carpenter _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel