Re: [PATCH v2 2/2] delayacct: add a proc file to dump the delay info

From: brookxu
Date: Mon May 10 2021 - 21:10:28 EST


Thanks for you reply :)

Andrew Morton wrote on 2021/5/10 11:58:
> On Mon, 19 Apr 2021 22:37:07 +0800 brookxu <brookxu.cn@xxxxxxxxx> wrote:
>
>> Many distributions do not install the getdelay tool by
>> default, similar to task_io_accounting, adding a proc
>> file to make access easier.
>
> Well, we developed and maintain getdelays.c for a reason. Why should
> we add (and maintain) kernel code because some people are too
> lame to install the tool we provided?
>
In some production environments, all modifications are restricted, and
the addition of business-unrelated tools is generally not allowed.
Adding new tools to Linux distributions may require a very complicated
process, as some of them are directly using centos. But kernel upgrade
is sometimes necessary, so I think a proc file can circumvent many
problems in the production environment.