memfd: add workaround for systems without memfd

Just a quick workaround to use a tmpfile if memfd is not available. We
should try to ensure that we get something on tmpfs, but this is probably
good enough for a fallback.
This commit is contained in:
Christian Hergert
2016-04-16 15:48:29 -07:00
parent 15370ecc42
commit de572f4ed6
4 changed files with 97 additions and 2 deletions

View File

@ -87,6 +87,8 @@ libsysprof_@API_VERSION@_la_SOURCES = \
sp-perf-counter.c \
sp-perf-counter.h \
sp-perf-source.c \
sp-platform.c \
sp-platform.h \
sp-proc-source.c \
sp-profile.c \
sp-profiler.c \