Commit a18d8bb
Support
Fixes bpftrace#3177
This change adds `fn` to the list of external names that may be used to
index structures, etc. I had originally considered allowing `fn` (and
`config`) arbitrarily as an identifier within the body of a probe
(esentially extending `ident` to include CONFIG and SUBPROG within the
parser, and limiting `attach_point_def` accordingly), but since there is
already a strong split between internal and external identifiers, I went
with the simpler proposed solution.fn keyword for external names1 parent df2445d commit a18d8bb
2 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
| 653 | + | |
653 | 654 | | |
654 | 655 | | |
655 | 656 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3104 | 3104 | | |
3105 | 3105 | | |
3106 | 3106 | | |
| 3107 | + | |
| 3108 | + | |
3107 | 3109 | | |
3108 | 3110 | | |
3109 | 3111 | | |
| |||
0 commit comments