Commit 451edb5
committed
libbpf-tools: remove print_drop_reasons and add warn on parse failure
Remove print_drop_reasons function and replace its call with a warning message
in main when parse_reason_enum fails.
Signed-off-by: Zi Li <[email protected]>
Signed-off-by: Amaindex <[email protected]>1 parent 6af9933 commit 451edb5
2 files changed
+6
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | 184 | | |
197 | 185 | | |
198 | 186 | | |
| |||
399 | 387 | | |
400 | 388 | | |
401 | 389 | | |
402 | | - | |
403 | | - | |
| 390 | + | |
| 391 | + | |
404 | 392 | | |
405 | 393 | | |
406 | 394 | | |
| |||
0 commit comments