Good day Jonatan,
On 8 February 2016 at 14:29, jonatan okagaw <jonatan.okagao@gmail.com> wrote:
> Hi All,
>
> What is the best practice to redirect the Ftrace output over STM?
> Can we use the existing module "stm_console" and redirect the Ftrace output
> as a kernel message by :
> # cat trace_pipe > /dev/kmsg
We did several attempts to redirect Ftrace output to STM and it can be
tricky. The Ftrace subsystem wasn't designed to do string formatting
in real-time, which makes it so efficient. The solution we settled on
is sourced from one of our member, ST-Microelectronics, and will be
published in the coming two weeks. You can either monitor the
linux-arm-kernel mailing list or we can CC you on the submission -
whichever works best for you.
>
> Other question please:
> How can the "stm_core" module knows the STM base address?
The STM core is only a layer abstracting implementation details from
the various STM engine. The stm core uses callbacks specific to each
STM driver. Those drivers take the base address for the configuration
and stimulus blocks from the device tree.
Thanks,
Mathieu
>
> Best regards,
> Jonatan
>
> _______________________________________________
> CoreSight mailing list
> CoreSight@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/coresight
>