Skip to content

Commit

Permalink
refine part2
Browse files Browse the repository at this point in the history
  • Loading branch information
clemente0731 committed Jun 21, 2024
1 parent 5a92b5d commit 19293fe
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 3 deletions.
30 changes: 30 additions & 0 deletions README.cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,37 @@ pprobe 配备了命令行界面,允许您启用、禁用、列出和重置选
**列出当前状态:**

```sh
## PPROBE CLI
```
PPROBE --list
=================================================
██████╗ ██████╗ ██████╗ ██████╗ ██████╗ ███████╗
██╔══██╗██╔══██╗██╔══██╗██╔═══██╗██╔══██╗██╔════╝
██████╔╝██████╔╝██████╔╝██║ ██║██████╔╝█████╗
██╔═══╝ ██╔═══╝ ██╔══██╗██║ ██║██╔══██╗██╔══╝
██║ ██║ ██║ ██║╚██████╔╝██████╔╝███████╗
╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝
=================================================


+------------------+--------+---------+
| TOGGLE-NAMES | STATUS | DEFAULT |
+------------------+--------+---------+
| REPRODUCE | True | True |
| CATCH_STEP | False | False |
| CATCH_LOSS | False | False |
| CATCH_LR | False | False |
| DUMP_OP | False | False |
| DUMP_MODULE | False | False |
| DUMP_DIST | False | False |
| DUMP_MEMORY | False | False |
| TEST_DUMP_OP | False | False |
| TEST_DUMP_MODULE | False | False |
| TEST_DUMP_DIST | False | False |
| PERF_ISSUE | False | False |
| TRACE_FILE | False | False |
+------------------+--------+---------+
```
```

**启用特定选项:**
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ tox
## PPROBE CLI
```
PPROBE --list
=================================================
██████╗ ██████╗ ██████╗ ██████╗ ██████╗ ███████╗
██╔══██╗██╔══██╗██╔══██╗██╔═══██╗██╔══██╗██╔════╝
Expand All @@ -119,15 +118,19 @@ PPROBE --list
+------------------+--------+---------+
| TOGGLE-NAMES | STATUS | DEFAULT |
+------------------+--------+---------+
| REPRODUCE | True | True |
| CATCH_STEP | False | False |
| CATCH_LOSS | False | False |
| CATCH_LR | False | False |
| DUMP_OP | False | False |
| DUMP_MODULE | False | False |
| DUMP_DIST | False | False |
| DUMP_ALL | False | False |
| DUMP_MEMORY | False | False |
| TEST_DUMP_OP | False | False |
| TEST_DUMP_MODULE | False | False |
| TEST_DUMP_DIST | False | False |
| PERF_ISSUE | False | False |
| TRACE_FILE | False | False |
+------------------+--------+---------+
```

Expand Down
4 changes: 3 additions & 1 deletion pprobe/toggle/hook.toggle.default
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
REPRODUCE=True
CATCH_STEP=False
CATCH_LOSS=False
CATCH_LR=False

##################
## SNAPSHOT
Expand All @@ -23,4 +24,5 @@ TEST_DUMP_DIST=False
##################
## SCAN
##################
PERF_ISSUE=False
PERF_ISSUE=False
TRACE_FILE=False

0 comments on commit 19293fe

Please sign in to comment.