davidmarkclements / 0x

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

update: add on-port check when kernel-tracing #265

Closed RafaelGSS closed 2 years ago

RafaelGSS commented 2 years ago

Reference: https://github.com/clinicjs/node-clinic-flame/issues/171.

I haven't found an valid approach to pipe between a non-nodejs process. To summarize the problem:

When no kernel-tracing:

When kernel-tracing:

The best option so far is improving the UX by throwing an error when both options are used together, instead quitting silently