crtools: split cr-dump.c in two files

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin 2015-08-06 12:37:26 +03:00 committed by Pavel Emelyanov
parent 3d1e8c6883
commit 2f172c8b24
6 changed files with 409 additions and 379 deletions

View file

@ -242,4 +242,6 @@ int parse_cgroups(struct list_head *cgroups, unsigned int *n_cgroups);
/* callback for AUFS support */
extern int aufs_parse(struct mount_info *mi);
int parse_children(pid_t pid, pid_t **_c, int *_n);
#endif /* __CR_PROC_PARSE_H__ */

7
include/seize.h Normal file
View file

@ -0,0 +1,7 @@
#ifndef __CR_SEIZE_H__
#define __CR_SEIZE_H__
extern int collect_pstree(pid_t pid);
extern void pstree_switch_state(struct pstree_item *root_item, int st);
#endif