Skip to content

Commit 5df732b

Browse files
author
Shane Snyder
committed
add back obfuscate option for all data
1 parent acffaf8 commit 5df732b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

darshan-util/darshan-convert.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ int usage (char *exename)
3030
fprintf(stderr, " Converts darshan log from infile to outfile.\n");
3131
fprintf(stderr, " rewrites the log file into the newest format.\n");
3232
fprintf(stderr, " --bzip2 Use bzip2 compression instead of zlib.\n");
33+
fprintf(stderr, " --obfuscate Obfuscate all items in the log.\n");
3334
fprintf(stderr, " --obfuscate_jobid Obfuscate job ID in the log.\n");
3435
fprintf(stderr, " --obfuscate_uid Obfuscate uid in the log.\n");
3536
fprintf(stderr, " --obfuscate_exe Obfuscate executable in the log.\n");
@@ -53,6 +54,7 @@ void parse_args (int argc, char **argv, char **infile, char **outfile, int *bzip
5354
{
5455
{"bzip2", 0, NULL, 'b'},
5556
{"annotate", 1, NULL, 'a'},
57+
{"obfuscate", 0, NULL, 'o'},
5658
{"obfuscate_jobid", 0, NULL, 'j'},
5759
{"obfuscate_uid", 0, NULL, 'u'},
5860
{"obfuscate_exe", 0, NULL, 'e'},
@@ -87,6 +89,12 @@ void parse_args (int argc, char **argv, char **infile, char **outfile, int *bzip
8789
case 'a':
8890
*annotate = optarg;
8991
break;
92+
case 'o':
93+
*obfuscate_jobid = 1;
94+
*obfuscate_uid = 1;
95+
*obfuscate_exe = 1;
96+
*obfuscate_names = 1;
97+
break;
9098
case 'j':
9199
*obfuscate_jobid = 1;
92100
break;

0 commit comments

Comments
 (0)