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 ba73b00..89cd3af 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))
+
+void valgrind_summary_hack(void);