@@ -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