]> granicus.if.org Git - strace/commit
unwind: move stacktrace capturing and mmap cache invalidating to trace_syscall_entering
authorMasatake YAMATO <yamato@redhat.com>
Wed, 16 Apr 2014 06:33:35 +0000 (15:33 +0900)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 30 May 2014 22:59:01 +0000 (22:59 +0000)
commited69fc2dc3da87d337ddd02f9153a82a46196cdf
tree580ef9ddeeea6c7352c4a820a8850452eebcb592
parent549e2c4a9858a380b03eb6e2ff4861d2c6687d6a
unwind: move stacktrace capturing and mmap cache invalidating to trace_syscall_entering

Instead of handling stacktrace capturing and mmap cache invalidating in
sys_* functions, handle them uniformly in trace_syscall_entering using
new flags introduced by previous two commits.

The patch is simpler than its older version(v3).  The value of
hide_log_until_execve is just ignored.  I found the value is nothing
to do with this patch.  unwind_cache_invalidate is mentioned only
once in trace_syscall_exiting.
Both are suggested by Dmitry Levin.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
mem.c
process.c
syscall.c