feiliu wrote:
> IMHO, http://lxr.linux.no/ does pretty much what you want.
No, because it doesn't know types. The kernel is full of
foo->ops->bar() calls, and it's really a pain to unwind those
calling sequences.
(Of course, LXR has a flat name space, so there are plenty of
other things that it doesn't know either. Structs full of
function pointers are just a particularly interesting example.)
Also, it doesn't have views. Example: try to find out how
prio_dequeue at
http://lxr.linux.no/source/net/sched/sch_prio.c?v=2.3.45#L108
may be called. Worse yet, find what gets called at
http://lxr.linux.no/source/net/ipv4/tcp_output.c?v=2.3.45#L193
and where this is set. (Okay, this is a trick example - I'm not
sure why it LXR didn't index queue_xmit).
LXR is certainly a nice tool, but it pretty far away from the
thing I'm looking for.
- Werner
-- _________________________________________________________________________ / Werner Almesberger, ICA, EPFL, CH werner.almesberger@ica.epfl.ch / /_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:22 EST