Allow to index symbol files by build ID.
Bug: 161235574
Change-Id: Ib9e93bc84aaa8acffb9780620c8638b558f25972
diff --git a/docs/data-sources/native-heap-profiler.md b/docs/data-sources/native-heap-profiler.md
index 2022a2f..f582dc3 100644
--- a/docs/data-sources/native-heap-profiler.md
+++ b/docs/data-sources/native-heap-profiler.md
@@ -290,6 +290,11 @@
4. $PERFETTO_BINARY_PATH/foo.so
5. $PERFETTO_BINARY_PATH/.build-id/ab/cd1234.debug
+Alternatively, you can set the `PERFETTO_SYMBOLIZER_MODE` environment variable
+to `index`, and the symbolizer will recursively search the given directory for
+an ELF file with the given build id. This way, you will not have to worry
+about correct filenames.
+
## Troubleshooting
### Buffer overrun