Re: [PATCH 1/3] taskstats-fork: Add a new taskstats command to get notification on fork/clone

From: Guillaume Chazarain
Date: Sun Aug 30 2009 - 15:52:29 EST


On Tue, Jul 21, 2009 at 8:24 AM, Nikanth Karthikesan<knikanth@xxxxxxx> wrote:
> Ah.. proc-events was the exact thing, I was looking for! Thanks.

AFAICT proc-events can only be used by root, so that makes it
unsuitable for *top.

Anyway, iotop will always have to iterate over all threads to query
their taskstats and other attributes, so the O(nr_threads) complexity
is unavoidable.

Thanks.

--
Guillaume
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/