You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like the magic-trace profiler to start profiling when function start_profile() is called from the function main(). magic-trace should profile until myprogram exits.
pubfnmain() -> int{// ... setup things ...start_profile();// ... do important things ...return0;}/// special function to instruct magic-trace start profilingpubfnstart_profile(){// ...}
What string value would I pass to -filter for the magic-trace attach -filter ... command?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What is the syntax for passing
-filtervalue for themagic-trace attachcommand?In my case, I have a rust program
myprogram. The attach command I use is:I would like the
magic-traceprofiler to start profiling when functionstart_profile()is called from the functionmain().magic-traceshould profile untilmyprogramexits.What string value would I pass to
-filterfor themagic-trace attach -filter ...command?Beta Was this translation helpful? Give feedback.
All reactions