Messages in this thread | | | Date | Wed, 24 May 2006 08:42:09 +0530 | From | "Balbir Singh" <> | Subject | Re: [Patch 0/6] statistics infrastructure |
| |
<snip> > > Andrew, > > > > taskstats, Balbir'r approach, is too specific and doesn't work for me. > > It is by design limited to per-task data. > > OK. They are pretty different things. > > Balbir, do you see any sane way in which the APIs you've implemented can be > extended to cover this requirement?
I'll work with Martin on that. If Martin decides to move to netlink/genetlink we could search for some common ground w.r.t to transfering data to user space, but IMHO its going to be hard, our API is meant to be used in task context. I think both the statistics target different use cases (one is device driver oriented and the other is task oriented)
> > > My statistics code is not limited to per-task statistics, but allows exploiters > > to have data been accumulated and been shown for whatever entity they need to, > > may it be for tasks, for SCSI disks, per adapter, per queue, per interface, > > for a device driver, etc. > > OK. > > > If you want me to change my code to use netlink anyway, I might be able to > > implement my own genetlink family. I haven't look at the details of that yet. > > > > Well, a debugfs interface _should_ be OK. If not, why do we need debugfs? > > Ho hum, hard. Please send the patches again, let's take a closer look, see > if we can move them forward a bit. >
Warm Regards, Balbir Linux Technology Center, India Software Labs, Bangalore - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |