20 ms·
Many of these flags are not intended to be used on their own. For example, you can use "./chrome --memlog-sampling-rate=10000" but not "./chrome --10000". This
by naeioi 4y ago
Many of these flags are not intended to be used on their own. For example, you can use "./chrome --memlog-sampling-rate=10000" but not "./chrome --10000". This information is, understandably, not explicitly stated on this page.
- seba_dos1 4y agoThere's only a single flag in `--memlog-sampling-rate=10000` though.
- fao_ 4y agoThe docs say, uh, the exact opposite though. --10000 is a single flag --memlog-sampling-rate=10000 is uh, well, also a single flag according to these docs both flags should be valid?
- naeioi 4y agoAFAIK, only "--memlog-sampling-rate=10000" is valid. Neither standalone "--10000" nor "--memlog-sampling-rate --10000" is valid. See the comment https://source.chromium.org/chromium/chromium/src/+/main:base/command_line.h;drc=f2c7cb73a687b6a23ca5223548952bc8c5766769;l=8 https://source.chromium.org/chromium/chromium/src/+/main:bas... Also see how the flag is actually parsed: https://source.chromium.org/chromium/chromium/src/+/main:components/services/heap_profiling/public/cpp/settings.cc;drc=3decef66bc4c08b142a19db9628e9efe68973e64;l=91 https://source.chromium.org/chromium/chromium/src/+/main:com...