Skip to content

Commit

Permalink
typo fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
kissonchan committed Dec 21, 2021
1 parent 33c8d5e commit c85085f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.MD
Expand Up @@ -153,8 +153,8 @@ Then, push the file to the device directory `sdcard/rhea-trace/${application pac
| options | defaults | description |
| ---- | ---- | ---- |
| io | true | Whether to enable tracking io native related methods.|
| classLoad | fasle | Whether to enable tracking class loading events, only supports Android 8.0 and above, and the app build type is debugable|
| memory | fasle | Whether to enable tracking memory access events, only supports Android 8.0 and above, and the app build type is debugable.|
| classLoad | fasle | Whether to enable tracking class loading events, only supports Android 8.0 and above, and the app build type is debuggable|
| memory | fasle | Whether to enable tracking memory access events, only supports Android 8.0 and above, and the app build type is debuggable.|
| mainThreadOnly | fasle | Whether to capture trace events only on the main thread, if you only care about the main thread trace events, please set it to true.|
| atraceBufferSize | 100000 | Specify the size of the ring buffer to store atrace data in the memory. If its value is too small, the trace data will be incompletely written. If you capture multi-threaded trace data, it is recommended to set the value to about one million; the minimum value is 10,000. The maximum value is 5 million.|
| startWhenAppLaunch | true | Start to capture tracking events at the beginning of the app startup. If you do startup optimization, it is recommended to keep the value as true.|
Expand Down
4 changes: 2 additions & 2 deletions README.zh-CN.md
Expand Up @@ -158,8 +158,8 @@ startWhenAppLaunch=true
| 参数 | 默认值 | 说明 |
| ---- | ---- | ---- |
| io | true | 是否开启跟踪 io native 相关方法。 |
| classLoad | fasle | 是否开启跟踪类加载事件,仅支持 Android 8.0 及以上,且 App 编译类型为 debugable |
| memory | fasle | 是否开启跟踪内存访问事件,仅支持 Android 8.0 及以上,且 App 编译类型为 debugable|
| classLoad | fasle | 是否开启跟踪类加载事件,仅支持 Android 8.0 及以上,且 App 编译类型为 debuggable |
| memory | fasle | 是否开启跟踪内存访问事件,仅支持 Android 8.0 及以上,且 App 编译类型为 debuggable|
| mainThreadOnly | fasle | 是否仅在主线程抓取跟踪事件,如果您仅关心主线程 trace 数据,请将其置为 true。|
| atraceBufferSize | 100000 | 指定内存存储 atrace 数据 ring buffer 的大小,如果其值过小会导致 trace 数据写入不完整,若您抓取多线程 trace 数据,建议将值设为百万左右量级;最小值为 1 万,最大值为 5 百万。|
| startWhenAppLaunch | true | 在 App 启动之初开始抓取跟踪事件,如果您做启动优化,建议将值保持为 true。|
Expand Down

0 comments on commit c85085f

Please sign in to comment.