core: add valgrind helper for daemon-reexec

Inspired by https://github.com/systemd/systemd/issues/2187#issuecomment-165587140
This commit is contained in:
Evgeny Vereshchagin
2016-01-21 01:32:05 +00:00
parent 91c4b6db78
commit dcadc9671c
3 changed files with 31 additions and 0 deletions
+2
View File
@@ -98,3 +98,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);