[null,null,["最后更新时间 (UTC):2025-07-29。"],[],[],null,["# Debug commands for local profiling\n\nWhile the most useful way to use `ProfilingManager` is to collect profiles from\nyour public users, you might first need to debug your setup or record local\nprofiles for investigations. You might have noticed that profiles are sometimes\nnot recorded, often due to rate limiting. For more information, see [How rate\nlimiting works](/topic/performance/tracing/profiling-manager/will-my-profile-always-be-collected#how-rate-limiting-works).\n\nYou can adjust specific debug settings on your local device using `adb`\ncommands. The following settings are available to assist with local profiling.\n\nDisable the rate limiter\n------------------------\n\nThe following command is particularly useful when using `ProfilingManager`\nlocally. It disables both the app process and system rate limiters, instructing\n`ProfilingManager` to fulfill all profile requests without being throttled. \n\n adb shell device_config put profiling_testing rate_limiter.disabled true\n\nRetain unredacted traces\n------------------------\n\nThe following command lets you retain unredacted versions of traces in the\ntemporary directory located at\n`/data/misc/perfetto-traces/profiling/\u003ctrace-name\u003e.perfetto-trace-unredacted`.\nUnredacted traces provide more system-level information than redacted traces,\nwhich can be crucial for in-depth investigations. \n\n adb shell device_config put profiling_testing delete_temporary_results.disabled true\n\nFor privacy reasons, this feature is only available for local profiling and is\ndisabled by default.\n| **Note:** Unredacted traces will likely use more storage space than redacted traces because they collect more comprehensive information."]]