Skip to content

Conversation

@shanedsnyder
Copy link

  • independent obfuscation flags to allow more control over what is obfuscated (e.g., to not obfuscate job ids)
  • don't obfuscate common names like standard streams (e.g., ) or heatmaps

- independent obfuscation flags to allow more control over
  what is obfuscated (e.g., to not obfuscate job ids)
- don't obfuscate common names like standard streams (e.g.,
  <STDOUT>) or heatmaps
@shanedsnyder shanedsnyder added this to the 3.4.7 milestone Mar 27, 2025
Copy link

@carns carns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestion for how to handle the options. Otherwise looks good.

fprintf(stderr, " Converts darshan log from infile to outfile.\n");
fprintf(stderr, " rewrites the log file into the newest format.\n");
fprintf(stderr, " --bzip2 Use bzip2 compression instead of zlib.\n");
fprintf(stderr, " --obfuscate Obfuscate items in the log.\n");
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be worth keeping --obfuscate for compatibility? (setting it would implicitly set each of the individual flags, so the comment/usage in that case would be something like "Enable all obfuscate options (jobid, uid, exe, and names)"

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good call, i fixed this by adding back the original option that sets all flags

Copy link

@carns carns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thanks.

@shanedsnyder shanedsnyder merged commit a8eed1b into main Mar 27, 2025
32 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants