Re:Linux on a MacBook Pro (M1 Pro): How Good Is Asahi Now?
by dan-robertson on Saturday September 16, 2023 @06:38PM
(#37539497)
One thing I was curious about but couldn’t work out from reading online is whether hardware-assisted tracing is supported. (see https://www.linaro.org/blog/coresight-perf-and-the-opencsd-l... or https://www.youtube.com/watch?v=Gm2ZXIB18PQ for descriptions. This uses the ARM CoreSight/Embedded Trace Macrocells feature. The Intel equivalent is something called Intel Processor Trace. MacOS doesn’t seem to expose this tracing functionality in the way that perf on linux may, and the publically released Darwin source code seems to barely mention it). Has anyone here installed Linux on an M1/2 computer and checked if the hwtracing support works?
[ Parent
| on HN ]
Re:Linux on a MacBook Pro (M1 Pro): How Good Is Asahi Now?
by zamadatix on Saturday September 16, 2023 @08:22PM
(#37540235)
If you know of a quick and easy way to test I'd be glad to report the result. I have an M2 running the Fedora version of Asahi.
Re:Linux on a MacBook Pro (M1 Pro): How Good Is Asahi Now?
by dan-robertson on Sunday September 17, 2023 @07:46PM
(#37550547)
I realise now that I’m not sure the hwtracing stuff was upstreamed. But you could try poking around with some of the ls commands from the linked blog post above. If you’re feeling ambitious I guess you could try recreating the demo from the video (the blog post seems to be lacking an easy to copy perf record command).