From: Paul J. <pj...@sg...> - 2001-12-01 22:42:32
|
Neils wrote: |> I prefer an old-fashioned API, actually. Tell me more. I presume you mean a C language API for navigating the various system objects in various fashions, filtering for certain objects or other subsets of the system, seeing various attributes. Are you expecting a node-by-node iterator (getnext(), getprev(), ...) or an array of homogenous results or a tree-shaped data structure that you can iterate over yourself. Or perhaps none of these sound right. Several things strike me here: 1) multiple APIs would be nice (perl/python, html, C, command line query utility, grep'able text for shell scripts, ...) 2) I had forgotten to include the obvious in my brainstorm - the C API. 3) the master system model is complicated, some sort of evolving graph with attributes on both node and arc. 4) Any given system architecture doesn't really want to deal with items that are meaningless or useless from its perspective. 5) Similarly any given hardware driver doesn't really want to deal with items outside its focus 6) We could benefit from a central place that gathers up the evidence from various places to form the master system model, then dispenses views to that model to the various API's. Item (6) should not, in my view, be in the kernel. I won't rest till it's the best ... Manager, Linux Scalability Paul Jackson <pj...@sg...> 1.650.933.1373 |