Go to file
Todd Fiala 2cd84c905d added Linux support for test timeout sampling
This is the Linux counterpart to the sampling support I added
on the macOS side.

This change also introduces zip-file compression if the size of
the sample output is greater than 10 KB.  The Linux side can be
quite large and the textual content is averaging over a 10x
compression factor on tests that I force to time out.  When
compression takes place, the filename becomes:

    {session_dir}/{TestFilename.py}-{pid}.sample.zip

This support relies on the linux 'perf' tool.  If it isn't
present, the behavior is to ignore pre-kill processing of
the timed out test process.

Note calling the perf tool under the timeout command appears
to nuke the profiled process.  This was causing the timeout
kill logic to fail due to the process having disappeared.
I modified the kill logic to catch the case of the process
not existing, and I have it ignore the kill request in that
case.  Any other exception is still raised.

Reviewers: labath

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D24890

llvm-svn: 282436
2016-09-26 20:25:47 +00:00
clang CC1: Add -save-stats option 2016-09-26 18:53:34 +00:00
clang-tools-extra Silence a false positive with the cert-err58-cpp check; now allows objects with static or thread storage duration at function block scope. 2016-09-26 15:00:45 +00:00
compiler-rt tsan: relaxed check in CheckShadowMapping 2016-09-26 14:23:34 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Provide vstore_half helper to workaround clc restrictions 2016-09-21 20:15:55 +00:00
libcxx [include] Declare __STDC_*_MACROS for C++11 compat in old libc 2016-09-26 20:20:00 +00:00
libcxxabi annotate more function visibility 2016-09-23 21:36:24 +00:00
libunwind Add missing _US_ACTION_MASK constant to unwind.h 2016-09-05 18:01:13 +00:00
lld [ELF] - Linkerscript: implemented BYTE/SHORT/LONG/QUAD commands. 2016-09-26 19:22:50 +00:00
lldb added Linux support for test timeout sampling 2016-09-26 20:25:47 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm Allow StringRef to be constructed from a null pointer. 2016-09-26 20:08:05 +00:00
openmp Fix respecting LIBOMP_LLVM_LIT_EXECUTABLE as full path 2016-09-19 06:55:56 +00:00
parallel-libs [SE] Fix config bug with CUDA tests 2016-09-15 20:26:28 +00:00
polly www: add new code coverage link to Polly website 2016-09-25 08:03:38 +00:00