Date: | Tue, 13 Aug 2013 22:51:11 -0700 |
---|---|
From: | Milind Chabbi <Milind.Chabbi@xxxxxxxx> |
Subject: | [DynInst_API:] Dyninst callpath collection |
I am considering using dyninst for a heavy-weight instrumentation where I would like to monitor each memory access instruction. In addition, on each monitored instruction I would like to store the call path for a later use. I noticed in the documentation that I can use getCallStack() API to get the call stack. I would like to know how getCallStack() works. Does it perform a call stack unwind or does dyninst maintain a shadow call stack? I imagine it is the former. If it is unwinding based, perhaps calling getCallStack() very frequently is expensive, is there any alternative? -Milind |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [DynInst_API:] [PATCH] Just include <sys/ptrace.h>, William Cohen |
---|---|
Next by Date: | [DynInst_API:] Fwd: Dyninst callpath collection, Jeff Hollingsworth |
Previous by Thread: | Re: [DynInst_API:] Dyninst and Data flow analysis, Bill Williams |
Next by Thread: | [DynInst_API:] DYNINSTuserMessage() in a function called with oneTimeCode(), David Smith |
Indexes: | [Date] [Thread] |