]> granicus.if.org Git - strace/commit
Introduce mmap_cache.h
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 26 Feb 2018 23:22:24 +0000 (23:22 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 26 Feb 2018 23:22:24 +0000 (23:22 +0000)
commitbbeee0be62684b2a12127106445df3fda12d3826
tree7d059ab5243599ffd7ca74be7de1890c8b586b6d
parent12f7d721e25485fc0a272c9ecf60db7209ed2ca6
Introduce mmap_cache.h

Let's avoid bloating defs.h and introduce a separate header for
mmap_cache.

* defs.h (struct mmap_cache_t, enum mmap_cache_protection,
enum mmap_cache_rebuild_result, mmap_cache_enable, mmap_cache_is_enabled,
mmap_cache_invalidate, mmap_cache_delete, mmap_cache_rebuild_if_invalid,
mmap_cache_search): Move ...
* mmap_cache.h: ... to this new file.
* Makefile.am (strace_SOURCES): Add mmap_cache.h.
* mmap_cache.c: Include mmap_cache.h.
* strace.c: Likewise.
* syscall.c: Likewise.
* unwind.c: Likewise.
Makefile.am
defs.h
mmap_cache.c
mmap_cache.h [new file with mode: 0644]
strace.c
syscall.c
unwind.c