1 #ifndef _LINUX_COREDUMP_H
2 #define _LINUX_COREDUMP_H
4 #include <linux/types.h>
7 #include <asm/siginfo.h>
10 * These are the only things you should do on a core-file: use only these
11 * functions to write out all the necessary info.
13 struct coredump_params;
14 extern int dump_skip(struct coredump_params *cprm, size_t nr);
15 extern int dump_emit(struct coredump_params *cprm, const void *addr, int nr);
16 extern int dump_align(struct coredump_params *cprm, int align);
17 #ifdef CONFIG_COREDUMP
18 extern void do_coredump(const siginfo_t *siginfo);
20 static inline void do_coredump(const siginfo_t *siginfo) {}
23 #endif /* _LINUX_COREDUMP_H */