I had my question (https://stackoverflow.com/questions/79611623/dtrace-equivalent-for-perf-record) deleted by a moderator.
The reason cited is -
We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources.
Here is what I asked for -
However the script seems very esoteric to me. Is there a more normative reference available somewhere?
I would like to emphasize on the fact that I asked for a "normative reference". Essentially I am looking for a manual for DTrace scripting language. While I agree that this falls within "off-site resource", but giving API references, citing standards or referring to man pages are standard practices on stackoverflow.
A point to note here is that the only answer I got listed a bunch of external sites. However, neither did I upvote, nor did I accept the answer since they were not normative references.
Is there a mechanism to contest this decision? Or can I at least tag the moderator and point out my viewpoint?
For those with less than 10k reputation, the content of my question was:
I am working on FreeBSD 13.3 and I need to do some dynamic profiling. What I am looking for is the equivalent of
perf record -F 99 -g -p PID
for data collection. I don't necessarily need the stack frame collection-g
, but it would be good to have.On the
perf report
side I would at least need the standard profiling output where percentage time spent in each function is there. If we can collect stack frames, I would like to have a folded output if possible.Currently I am looking at https://myaut.github.io/dtrace-stap-book to understand the dtrace syntax. However the script seems very esoteric to me. Is there a more normative reference available somewhere?