forked from checkpoint-restore/criu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move timers dump/restore code into separate file Signed-off-by: ccccrrrr <zcr1006@gmail.com>
- Loading branch information
Showing
7 changed files
with
416 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,14 @@ | ||
#ifndef __ITIMER_H__ | ||
#define __ITIMER_H__ | ||
|
||
#include "types.h" | ||
#include "parasite.h" | ||
#include "restorer.h" | ||
|
||
extern int prepare_posix_timers(int pid, struct task_restore_args *ta, CoreEntry *core); | ||
extern int prepare_itimers(int pid, struct task_restore_args *args, 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 13 in criu/include/timer.h GitHub Actions / build
|
||
#endif |
Oops, something went wrong.