[RFC PATCH 0/8] coresight: syscfg: dynamic load, resource management
Leo Yan
leo.yan at linaro.org
Thu May 13 18:35:26 PDT 2021
On Thu, May 13, 2021 at 05:53:36PM +0100, Mike Leach wrote:
> Hi Mathieu,
>
> On Thu, 13 May 2021 at 16:56, Mathieu Poirier
> <mathieu.poirier at linaro.org> wrote:
> >
> > Hey Mike,
> >
> > On Wed, May 12, 2021 at 10:17:44PM +0100, Mike Leach wrote:
> > > This patchset represents the second phase of CoreSight configuration
> > > management.
> > >
> > > 1) API updated to allow dynamic load and unload of configurations and
> > > features. Dependency management between loaded sets is added.
> > >
> > > 2) New configuration and feature sets can be added using a loadable module.
> > > An example in /samples/coresight is provided to demonstrate this.
> > >
> >
> > I tried to compile the sample module and I get:
> >
> > samples/coresight/coresight-cfg-sample.c:7:10: fatal error: coresight-config.h: No such file or directory
> > #include "coresight-config.h"
> > ^~~~~~~~~~~~~~~~~~~~
> > compilation terminated.
> >
> > Can you reproduce on your side?
> >
>
> No problem here. I cleaned and rechecked I had the sample selected in
> my .config (CONFIG_SAMPLE_CORESIGHT_SYSCFG=m) and it built just fine.
Just reminding, before I tried other kernel samples (actually for eBPF
samples), I firstly installed headers:
# make headers_install # creates "usr/include" directory in the build top directory
# make samples/xxx
I didn't verify Mike's patch set, just in case Mathieu encountered the
same issue and should install header ahead, so share the notes.
Thanks,
Leo
More information about the linux-arm-kernel
mailing list