[brussels-dev] code review: mac prop handle
Artem Kachitchkine
Artem.Kachitchkin at Sun.COM
Fri Sep 21 11:12:23 PDT 2007
> It would. Fortunately, it's easy to reuse existing walkers and dcmds
> from inside mdb. See the mdb_pwalk() call in th_trace() (recently
> added to $SRC/cmd/mdb/common/modules/ip.c) for an example of a dcmd
> that calls a walker. Then see its callback function,
> th_hash_summary(), for an example of a nested walk on a modent.
Thanks, I actually used your ip.c as an example. Once I saw mdb_pwalk I
instantly found relevant chapters in the MDB Guide. Pretty rich API indeed.
-Artem
More information about the brussels-dev
mailing list