davidmarkclements / 0x

🔥 single-command flamegraph profiling 🔥
MIT License
3.21k stars 103 forks source link

--kernel-tracing support for other platforms #268

Closed feedthejim closed 1 year ago

feedthejim commented 1 year ago

hey,

Love the tool! I was wondering: how much work would it be to add kernel tracing support for mac os? If small enough, could support be added?

mcollina commented 1 year ago

We had --kernel-tracing support for Mac OS X, however Apple stopped supporting the feature we were using due to security. It would likely bit quite a feat to get it back supported.

I would love to see a PR that adds it but it's beyond the maintainers to tackle such a project.

feedthejim commented 1 year ago

what do you recommend for getting more information for profiling when on a mac currently @mcollina ? (beyond a VM/docker)

mcollina commented 1 year ago

I think you'd need a Linux machine to properly optimize the lower levels of your application.