Skip to content
This repository was archived by the owner on Feb 22, 2025. It is now read-only.

Commit 60bba71

Browse files
committed
docs: Sync with upstream
1 parent db721e2 commit 60bba71

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

docs/master.html

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff 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'.
14141404
These exist for the lifetime of <code>bpftrace</code> itself and can be accessed from all action blocks and user-space.
14151405
Map names always start with a <code>@</code>, e.g. <code>@mymap</code>.</p>

src/docs/master.adoc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -973,13 +973,6 @@ if ($a == 1) {
973973

974974
If 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'.
984977
These exist for the lifetime of `bpftrace` itself and can be accessed from all action blocks and user-space.
985978
Map names always start with a `@`, e.g. `@mymap`.

0 commit comments

Comments
 (0)