Re: [DynInst_API:] [PATCH 2/2] common: try process_vm_readv/writev for Linux bulk access

2015-07-31 Thread Bill Williams
On 07/30/2015 05:28 PM, Josh Stone wrote: These syscalls can read/write entire blocks of memory in one syscall, rather than using a series of word-sized ptrace peek/poke requests. However, not all kernels have these (ENOSYS), and they don't bypass page protection (EFAULT), so the ptrace way is

Re: [DynInst_API:] [PATCH 1/2] common: rewrite caching in Linux P_cplus_demangle()

2015-07-31 Thread Bill Williams
On 07/30/2015 05:28 PM, Josh Stone wrote: This had a bug where a last_typed value was saved even for parameter includeTypes==false, where cplus_demangle opts lacked DMGL_PARAMS. Similarly, the nativeCompiler parameter wasn't considered at all for caching. This caused strange issues in

Re: [DynInst_API:] PATCH: have SymtabAPI properly use ELF contents to set architecture

2015-07-31 Thread Don Maghrak
AFAIK, symtabapi is not resolving statements when used directly. It does get the function symbols based on output Jim sent earlier. Jim ran our bfd resolver and that resolves functions and statements. Does this suggest SymtabAPI has an issue with statements on mic? On 07/28/2015 02:57 PM,