Commit e5dff25
bpf: Refactor reporting btf_log_true_size for btf_load
In the next commit, it will be able to report logs via extended common
attributes, which will report 'log_true_size' via the extended common
attributes meanwhile.
Therefore, refactor the way of 'btf_log_true_size' reporting in order to
report 'log_true_size' via the extended common attributes easily.
Signed-off-by: Leon Hwang <[email protected]>1 parent b6d3656 commit e5dff25
3 files changed
+25
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5745 | 5745 | | |
5746 | 5746 | | |
5747 | 5747 | | |
5748 | | - | |
5749 | | - | |
5750 | | - | |
5751 | | - | |
5752 | | - | |
5753 | | - | |
5754 | | - | |
5755 | | - | |
5756 | | - | |
5757 | | - | |
5758 | | - | |
5759 | | - | |
5760 | | - | |
5761 | | - | |
5762 | | - | |
5763 | | - | |
| 5748 | + | |
5764 | 5749 | | |
5765 | 5750 | | |
5766 | 5751 | | |
| |||
5841 | 5826 | | |
5842 | 5827 | | |
5843 | 5828 | | |
5844 | | - | |
| 5829 | + | |
5845 | 5830 | | |
5846 | 5831 | | |
5847 | 5832 | | |
| |||
5853 | 5838 | | |
5854 | 5839 | | |
5855 | 5840 | | |
5856 | | - | |
| 5841 | + | |
5857 | 5842 | | |
5858 | 5843 | | |
5859 | 5844 | | |
| |||
8017 | 8002 | | |
8018 | 8003 | | |
8019 | 8004 | | |
8020 | | - | |
| 8005 | + | |
8021 | 8006 | | |
8022 | 8007 | | |
8023 | 8008 | | |
8024 | 8009 | | |
8025 | | - | |
| 8010 | + | |
8026 | 8011 | | |
8027 | 8012 | | |
8028 | 8013 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5397 | 5397 | | |
5398 | 5398 | | |
5399 | 5399 | | |
5400 | | - | |
| 5400 | + | |
5401 | 5401 | | |
5402 | 5402 | | |
5403 | 5403 | | |
| |||
5424 | 5424 | | |
5425 | 5425 | | |
5426 | 5426 | | |
5427 | | - | |
| 5427 | + | |
5428 | 5428 | | |
5429 | 5429 | | |
5430 | 5430 | | |
| |||
6151 | 6151 | | |
6152 | 6152 | | |
6153 | 6153 | | |
| 6154 | + | |
| 6155 | + | |
| 6156 | + | |
| 6157 | + | |
| 6158 | + | |
| 6159 | + | |
| 6160 | + | |
| 6161 | + | |
| 6162 | + | |
| 6163 | + | |
| 6164 | + | |
| 6165 | + | |
| 6166 | + | |
6154 | 6167 | | |
6155 | 6168 | | |
6156 | 6169 | | |
| |||
6257 | 6270 | | |
6258 | 6271 | | |
6259 | 6272 | | |
6260 | | - | |
| 6273 | + | |
| 6274 | + | |
| 6275 | + | |
| 6276 | + | |
6261 | 6277 | | |
6262 | 6278 | | |
6263 | 6279 | | |
| |||
0 commit comments