[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#964036: linux: Please set CONFIG_HWLAT_TRACER=y



Control: tags -1 + moreinfo

On Tue, Jun 30, 2020 at 08:52:26PM +0100, Christopher Obbard wrote:
> Source: linux
> Severity: wishlist
> 
> Dear Maintainer,
> 
> Setting CONFIG_HWLAT_TRACER=y enables a tracer to detect hardware latencies
> with no overhead when not used. It is not designed to be run on a production
> system, but is a useful tracer to use in embedded systems.
> 
> Other distros enable this configuration option, I see no security issues or
> performance issues for users since this is by-default turned off so has to be
> enabled at runtime.

This is enabled in the RT featureset enabled kernels, and from a
previous commit from Ben Hutchings:

commit 52e8d9f36fbe727523eef4950f0fa3afb25787cd
Author: Ben Hutchings <ben@decadent.org.uk>
Date:   Tue May 2 04:48:15 2017 +0100

    [rt] tracing: Enable HWLAT_TRACER

    This is in mainline but not that useful without PREEMPT_RT.
    HWLAT_DETECTOR no longer exists but I didn't notice because
    kconfigeditor2 only looks at the mainline Kconfig files.

So I guess we can close this bugreport.

Regards,
Salvatore


Reply to: