chiark / gitweb /
core: add valgrind helper for daemon-reexec
authorEvgeny Vereshchagin <evvers@ya.ru>
Tue, 19 Jan 2016 15:48:45 +0000 (15:48 +0000)
committerSven Eden <yamakuzure@gmx.net>
Wed, 17 May 2017 13:22:15 +0000 (15:22 +0200)
Inspired by https://github.com/elogind/elogind/issues/2187#issuecomment-165587140

src/basic/process-util.h

index ba73b00c2f23be03ce079d89e59702145054bd25..89cd3af8bc4b6b4c3649d52cb538b5abffbebe45 100644 (file)
@@ -107,3 +107,5 @@ int sched_policy_from_string(const char *s);
 
 #define PTR_TO_PID(p) ((pid_t) ((uintptr_t) p))
 #define PID_TO_PTR(p) ((void*) ((uintptr_t) p))
 
 #define PTR_TO_PID(p) ((pid_t) ((uintptr_t) p))
 #define PID_TO_PTR(p) ((void*) ((uintptr_t) p))
+
+void valgrind_summary_hack(void);