diff options
author | Han Ming Ong <hanming@apple.com> | 2012-11-17 00:21:04 +0000 |
---|---|---|
committer | Han Ming Ong <hanming@apple.com> | 2012-11-17 00:21:04 +0000 |
commit | ab3b8b22a157f98bab6260ddf2b88b05dcb4cd1e (patch) | |
tree | 9232dcea9c6bef57d9d10297647ad9eb322b79af /lldb/scripts/Python/interface | |
parent | f1b6177b62567cdda828b2cf25f04b7009274c91 (diff) | |
download | bcm5719-llvm-ab3b8b22a157f98bab6260ddf2b88b05dcb4cd1e.tar.gz bcm5719-llvm-ab3b8b22a157f98bab6260ddf2b88b05dcb4cd1e.zip |
<rdar://problem/12720514> Sub-TLF: Provide service to profile the inferior
This allows client to query profiling states on the inferior.
llvm-svn: 168228
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r-- | lldb/scripts/Python/interface/SBProcess.i | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lldb/scripts/Python/interface/SBProcess.i b/lldb/scripts/Python/interface/SBProcess.i index 2c48692ca9f..99ba6cf6628 100644 --- a/lldb/scripts/Python/interface/SBProcess.i +++ b/lldb/scripts/Python/interface/SBProcess.i @@ -43,7 +43,8 @@ public: eBroadcastBitStateChanged = (1 << 0), eBroadcastBitInterrupt = (1 << 1), eBroadcastBitSTDOUT = (1 << 2), - eBroadcastBitSTDERR = (1 << 3) + eBroadcastBitSTDERR = (1 << 3), + eBroadcastBitProfileData = (1 << 4) }; SBProcess (); @@ -96,6 +97,9 @@ public: size_t GetSTDERR (char *dst, size_t dst_len) const; + size_t + GetAsyncProfileData(char *dst, size_t dst_len) const; + void ReportEventState (const lldb::SBEvent &event, FILE *out) const; |