Skip to content

Commit

Permalink
test: add get-state to mocked cuda-checkpoint tool
Browse files Browse the repository at this point in the history
Signed-off-by: Radostin Stoyanov <[email protected]>
  • Loading branch information
rst0git committed Nov 12, 2024
1 parent dcdd00c commit 7d9b7f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/cuda-checkpoint/cuda-checkpoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ int main(int argc, char *argv[])
int option_index = 0;
static struct option long_options[] = {
{ "pid", required_argument, 0, 'p' },
{ "get-state", required_argument, 0, 's' },
{ "get-restore-tid", no_argument, 0, 'g' },
{ "action", required_argument, 0, 'a' },
{ "timeout", required_argument, 0, 't' },
Expand All @@ -30,6 +31,7 @@ int main(int argc, char *argv[])
case 'g':
case 'a':
case 't':
case 's':
break;
case 'h':
printf("--action - execute an action");
Expand Down

0 comments on commit 7d9b7f0

Please sign in to comment.