-
Notifications
You must be signed in to change notification settings - Fork 617
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
criu: move timers dump/restore code into separate file
Fixes: #335 Signed-off-by: ccccrrrr <[email protected]>
- Loading branch information
Showing
7 changed files
with
419 additions
and
396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#ifndef __CR_TIMER_H__ | ||
#define __CR_TIMER_H__ | ||
|
||
#include "images/core.pb-c.h" | ||
|
||
struct task_restore_args; | ||
struct pstree_item; | ||
struct parasite_ctl; | ||
struct proc_posix_timers_stat; | ||
|
||
extern int prepare_itimers(int pid, struct task_restore_args *args, CoreEntry *core); | ||
extern int prepare_posix_timers(int pid, struct task_restore_args *ta, CoreEntry *core); | ||
|
||
extern int parasite_dump_itimers_seized(struct parasite_ctl *ctl, struct pstree_item *item); | ||
extern int parasite_dump_posix_timers_seized(struct proc_posix_timers_stat *proc_args, struct parasite_ctl *ctl, | ||
struct pstree_item *item); | ||
Check warning on line 16 in criu/include/timer.h GitHub Actions / build
|
||
#endif |
Oops, something went wrong.