<commit_before># A few notes on how to run cvmfs under valgrind

  - build with valgrind-devel
  - no autofs
  - use `-o simple_options_parsing`
    (no qotes for CVMFS_HTTP_PROXY and CVMFS_SERVER_URL in the options)
  - use `-o disable_watchdog`
  - user root (`-o gid=0,uid=0`)
  - no shared cache to avoid forking the quota manager
  - foreground mount (`cvmfs2 -f`)

## Example

    valgrind /usr/bin/cvmfs2 -f -o \
      disable_watchdog,simple_options_parsing,fsname=cvmfs2,allow_other,grab_mountpoint,uid=0,gid=0 \
      sft.cern.ch /cvmfs/sft.cern.ch
<commit_msg>example for massif<commit_after># A few notes on how to run cvmfs under valgrind

  - build with valgrind-devel
  - no autofs
  - use `-o simple_options_parsing`
    (no qotes for CVMFS_HTTP_PROXY and CVMFS_SERVER_URL in the options)
  - use `-o disable_watchdog`
  - user root (`-o gid=0,uid=0`)
  - no shared cache to avoid forking the quota manager
  - foreground mount (`cvmfs2 -f`)

## Example

    valgrind /usr/bin/cvmfs2 --tool=massif --stacks=yes --peak-inaccuracy=0.1 -f -o \
      disable_watchdog,simple_options_parsing,fsname=cvmfs2,allow_other,grab_mountpoint,uid=0,gid=0 \
      sft.cern.ch /cvmfs/sft.cern.ch

{'fraction_non_alphanumeric': 0.10451505016722408, 'fraction_numerical': 0.013377926421404682, 'mean_word_length': 3.433333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1404642', 'n_tokens_mistral': 481, 'n_tokens_neox': 461, 'n_words': 117}