forked from OSchip/llvm-project
1f49714d3e
This diffs implements per-core tracing on lldb-server. It also includes tests that ensure that tracing can be initiated from the client and that the jLLDBGetState ppacket returns the list of trace buffers per core. This doesn't include any decoder changes. Finally, this makes some little changes here and there improving the existing code. A specific piece of code that can't reliably be tested is when tracing per core fails due to permissions. In this case we add a troubleshooting message and this is the manual test: ``` /proc/sys/kernel/perf_event_paranoid set to 1 (lldb) process trace start --per-core-tracing error: perf event syscall failed: Permission denied You might need that /proc/sys/kernel/perf_event_paranoid has a value of 0 or -1. `` Differential Revision: https://reviews.llvm.org/D124858 |
||
---|---|---|
.. | ||
_lldb | ||
_static | ||
design | ||
man | ||
resources | ||
status | ||
testsuite | ||
use | ||
.htaccess | ||
CMakeLists.txt | ||
conf.py | ||
doxygen-mainpage.dox | ||
doxygen.cfg.in | ||
index.rst | ||
lldb-for-gdb-users.txt | ||
lldb-gdb-remote.txt | ||
lldb-platform-packets.txt | ||
python_api.rst | ||
python_api_enums.rst |