This repository was archived by the owner on Feb 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -1400,16 +1400,6 @@ <h3 id="_variables_and_maps">Variables and Maps</h3>
14001400< p > If no assignment is specified variables will initialize to 0.</ p >
14011401</ div >
14021402< div class ="paragraph ">
1403- < p > You can also specify the type in the declaration e.g.</ p >
1404- </ div >
1405- < div class ="listingblock ">
1406- < div class ="content ">
1407- < pre class ="highlight "> < code > let $x: uint8;
1408- let $y: uint8 = 7;
1409- let $a: string = "hiya";</ code > </ pre >
1410- </ div >
1411- </ div >
1412- < div class ="paragraph ">
14131403< p > 'map' variables use BPF 'maps'.
14141404These exist for the lifetime of < code > bpftrace</ code > itself and can be accessed from all action blocks and user-space.
14151405Map names always start with a < code > @</ code > , e.g. < code > @mymap</ code > .</ p >
Original file line number Diff line number Diff line change @@ -973,13 +973,6 @@ if ($a == 1) {
973973
974974If no assignment is specified variables will initialize to 0.
975975
976- You can also specify the type in the declaration e.g.
977- ```
978- let $x: uint8;
979- let $y: uint8 = 7;
980- let $a: string = "hiya";
981- ```
982-
983976'map' variables use BPF 'maps'.
984977These exist for the lifetime of `bpftrace` itself and can be accessed from all action blocks and user-space.
985978Map names always start with a `@`, e.g. `@mymap`.
You can’t perform that action at this time.
0 commit comments