Hi Andrea,
On Wed, Mar 04, 2020 at 03:45:59PM +0000, Andrea Brunato wrote:
> Thank you Mike - I'm getting a way better understanding of the whole system.
>
> Sorry for sharing a wrong command, unfortunately on 5.5.0-rc7 I see the same error persisting when running:
>
> $ perf record --per-thread -e cs_etm/@tmc_etr0/u -- ls
> failed to set sink "" on event cs_etm/@tmc_etr0/u with 21 (Is a directory)
>
> I'm using perf built as an Arm binary against the same kernel source code while linked against openCSD.
Just want to remind, please check if these two patches [1][2] have been
merged into your local code base, otherwise, before we found the
regression for inputting sink name in perf command.
Thanks,
Leo
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e884602b57c07fae54ff357e4b996b2053b47c1e
[2]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3220fb8d5e59d7a9b59d02965d4209aef7691e9f