Commit 7268500
committed
libbpf-tools/softirqslower: Fix review comments
- Use ARRAY_SIZE(stage_names) instead of magic number 2 for stage
bounds check, so adding a new stage enum value automatically extends
the valid range without a separate update here.
- Update man page SYNOPSIS from softirqslower.py to softirqslower to
reflect the libbpf CO-RE binary.
Change-Id: I2c5c63282a40276a73eb37b1cae197fe83f2c3741 parent 7ffb614 commit 7268500
2 files changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
136 | 138 | | |
137 | 139 | | |
138 | 140 | | |
139 | | - | |
| 141 | + | |
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments