1
1
openmpi/opal/mca
Joshua Hursey 6d98559be9 stacktrace: Add flexibility in stacktrace ouptut
- New MCA option: opal_stacktrace_output
   - Specifies where the stack trace output stream goes.
   - Accepts: none, stdout, stderr, file[:filename]
   - Default filename 'stacktrace'
     - Filename will be `stacktrace.PID`, or if VPID is available,
       then the filename will be `stacktrace.VPID.PID`
 - Update util/stacktrace to allow for different output avenues
   including files. Previously this was hardcoded to 'stderr'.
 - Since opal_backtrace_print needs to be signal safe, passing it a
   FILE object that actually represents a file stream is difficult. This
   is because we cannot open the file in the signal handler using
   `fopen` (not safe), but have to use `open` (safe). Additionally, we
   cannot use `fdopen` to convert the `int fd` to a `FILE *fh` since it
   is also not signal safe.
   - I did not want to break the backtrace.h API so I introduced a new
     rule (documented in `backtrace.c`) that if the `FILE *file`
     argument is `NULL` then look for the `opal_stacktrace_output_fileno`
     variable to tell you which file descriptor to use for output.

Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
2017-01-26 11:55:32 -06:00
..
allocator opal: rework mpool and rcache frameworks 2016-03-14 10:50:41 -06:00
backtrace stacktrace: Add flexibility in stacktrace ouptut 2017-01-26 11:55:32 -06:00
base Merge pull request #2672 from ggouaillardet/topic/misc_memory_leaks 2017-01-10 13:16:04 +09:00
btl Fix an issue with extremely large data identified by tjb900. 2017-01-18 10:33:12 -05:00
common common/ugni: help out knl with aries 2016-06-18 15:09:05 -05:00
compress mca/base: add priority output to mca_base_select 2015-10-19 12:32:41 -06:00
crs configury: test portability 2015-12-28 13:58:45 +09:00
dl dl/dlopen/libltdl: Allow opal_dl_open to take a NULL filename. 2016-05-05 17:07:26 -04:00
event event: plug a leak when closing the event framework 2017-01-06 13:46:35 +09:00
hwloc Update to latest PMIx master 2016-12-30 12:44:47 -08:00
if opal/if: open the if framework once in opal_init_util 2016-12-01 14:24:30 +09:00
installdirs Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
memchecker configury: test portability 2015-12-28 13:58:45 +09:00
memcpy Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
memory opal/patcher: fix xlc support 2016-08-26 14:43:03 -06:00
mpool mpool/hugepage: plug a memory leak on finalize 2017-01-06 11:35:58 +09:00
patcher opal/patcher: fix xlc support 2016-08-26 14:43:03 -06:00
pmix Silence Coverity CID 1398541 2017-01-10 15:30:50 -08:00
pstat powerpc: Add support for powerpcle in timer/pstat. 2016-11-07 02:35:44 -05:00
rcache rcache/base: do not release vma stuctures in vma_tree_delete 2017-01-10 16:58:07 -07:00
reachable configury: check libnl version and abort in case of conflict 2016-10-25 09:23:59 +09:00
sec sec/munge: plug a memory leak 2017-01-06 13:46:35 +09:00
shmem opal: standardize on max hostname length 2016-04-24 08:19:47 +02:00
timer timer/linux: prevent 64-bit overflow 2017-01-11 20:03:10 -07:00
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
mca.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00