UVM equivalent for $stacktrace in forked processes

When I use the system command $stacktrace (which yes I realize is tool specific) inside a fork…join_none process, it only prints the hierarchy with the immediate caller as the bottom of the stack… where the process was originally forked.

My question is, is there a UVM equivalent or some SystemVerilog mechanism to get the call stack even inside a forked process?

In reply to ce_2015:

Technically, each process has its own call stack. What you are looking for requires saving the state of the parent’s call stack at the point of forking off the child process. That would be extremely resource intensive. Conceivably, you could get that information using SystemVerilog is with the VPI.

The UVM’s sequence API has a mechanism for recording the hierarchy of calling sequences as a string, so you could be starting sequences instead of calling tasks.