Hi all,
I’m writing some platform dependent code for a sampling profiler I’m adding to 
JSC.
I’m looking for a way to get a thread’s frame pointer and program counter in 
the gtk and efl ports while that thread is paused.
We already have a way to grab the stack pointer of a thread on all ports. If 
you look inside JavaScriptCore/heap/MachineStackMarker.h/cpp you
will see the code that does this. I’ve also written code that grabs PC and FP 
for other platforms. If you look at my WIP patch
you can see that code: https://bugs.webkit.org/show_bug.cgi?id=151713 
<https://bugs.webkit.org/show_bug.cgi?id=151713>.

I’d like to get this working on all ports before landing. Do people who 
maintain the gtk and efl ports
have an idea on how to do this? Or could you help me figure out a solution?

Thanks,
Saam
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to