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

Commit 5683205

Browse files
committed
docs: Sync with upstream
1 parent 6def811 commit 5683205

File tree

2 files changed

+28
-39
lines changed

2 files changed

+28
-39
lines changed

docs/master.html

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1530,11 +1530,11 @@ <h2 id="_builtins">Builtins</h2>
15301530
</div>
15311531
<table class="tableblock frame-all grid-all stretch">
15321532
<colgroup>
1533-
<col>
1534-
<col>
1535-
<col>
1536-
<col>
1537-
<col>
1533+
<col style="width: 20%;">
1534+
<col style="width: 20%;">
1535+
<col style="width: 20%;">
1536+
<col style="width: 20%;">
1537+
<col style="width: 20%;">
15381538
</colgroup>
15391539
<thead>
15401540
<tr>
@@ -1802,9 +1802,9 @@ <h2 id="_functions">Functions</h2>
18021802
<div class="sectionbody">
18031803
<table class="tableblock frame-all grid-all stretch">
18041804
<colgroup>
1805-
<col>
1806-
<col>
1807-
<col>
1805+
<col style="width: 33.3333%;">
1806+
<col style="width: 33.3333%;">
1807+
<col style="width: 33.3334%;">
18081808
</colgroup>
18091809
<thead>
18101810
<tr>
@@ -1815,7 +1815,7 @@ <h2 id="_functions">Functions</h2>
18151815
</thead>
18161816
<tbody>
18171817
<tr>
1818-
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#functions-bswap"><code>bswap(uint[8|\16|32|64] n)</code></a></p></td>
1818+
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#functions-bswap"><code>bswap(uint[8|16|32|64] n)</code></a></p></td>
18191819
<td class="tableblock halign-left valign-top"><p class="tableblock">Reverse byte order</p></td>
18201820
<td class="tableblock halign-left valign-top"><p class="tableblock">Sync</p></td>
18211821
</tr>
@@ -2788,9 +2788,9 @@ <h3 id="functions-printf">printf</h3>
27882788
</div>
27892789
<table class="tableblock frame-all grid-all stretch">
27902790
<colgroup>
2791-
<col>
2792-
<col>
2793-
<col>
2791+
<col style="width: 33.3333%;">
2792+
<col style="width: 33.3333%;">
2793+
<col style="width: 33.3334%;">
27942794
</colgroup>
27952795
<thead>
27962796
<tr>
@@ -3116,8 +3116,8 @@ <h3 id="functions-strftime">strftime</h3>
31163116
</div>
31173117
<table class="tableblock frame-all grid-all stretch">
31183118
<colgroup>
3119-
<col>
3120-
<col>
3119+
<col style="width: 50%;">
3120+
<col style="width: 50%;">
31213121
</colgroup>
31223122
<thead>
31233123
<tr>
@@ -3474,9 +3474,9 @@ <h2 id="_map_functions">Map Functions</h2>
34743474
</div>
34753475
<table class="tableblock frame-all grid-all stretch">
34763476
<colgroup>
3477-
<col>
3478-
<col>
3479-
<col>
3477+
<col style="width: 33.3333%;">
3478+
<col style="width: 33.3333%;">
3479+
<col style="width: 33.3334%;">
34803480
</colgroup>
34813481
<thead>
34823482
<tr>

src/docs/master.adoc

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,13 +1073,9 @@ Builtins are special variables built into the language.
10731073
Unlike scratch and map variables they don't need a `$` or `@` as prefix (except for the positional parameters).
10741074
The 'Kernel' column indicates the minimum kernel version required and the 'BPF Helper' column indicates the raw BPF helper function used for this builtin.
10751075

1076-
[%header,cols="~,~,~,~,~"]
1076+
[%header]
10771077
|===
1078-
| Variable
1079-
| Type
1080-
| Kernel
1081-
| BPF Helper
1082-
| Description
1078+
| Variable | Type | Kernel | BPF Helper | Description
10831079

10841080
| <<builtins-positional-parameters, `$1`, `$2`, `...$n`>>
10851081
| int64
@@ -1295,13 +1291,11 @@ Tracing block I/O sizes > 0 bytes
12951291

12961292
== Functions
12971293

1298-
[%header,cols="~,~,~"]
1294+
[%header]
12991295
|===
1300-
| Function Name
1301-
| Description
1302-
| Sync/Async/Compile Time
1296+
| Function Name | Description | Sync/Async/Compile Time
13031297

1304-
| <<functions-bswap, `bswap(uint[8\|\16\|32\|64] n)`>>
1298+
| <<functions-bswap, `bswap(uint[8\|16\|32\|64] n)`>>
13051299
| Reverse byte order
13061300
| Sync
13071301

@@ -2009,11 +2003,9 @@ Values are copied and passed by value.
20092003
bpftrace supports all the typical format specifiers like `%llx` and `%hhu`.
20102004
The non-standard ones can be found in the table below:
20112005

2012-
[%header,cols="~,~,~"]
2006+
[%header]
20132007
|===
2014-
| Specifier
2015-
| Type
2016-
| Description
2008+
| Specifier | Type | Description
20172009

20182010
| r
20192011
| buffer
@@ -2231,10 +2223,9 @@ interval:s:1 {
22312223

22322224
bpftrace also supports the following format string extensions:
22332225

2234-
[%header,cols="~,~"]
2226+
[%header]
22352227
|===
2236-
| Specifier
2237-
| Description
2228+
| Specifier | Description
22382229

22392230
| `%f`
22402231
| Microsecond as a decimal number, zero-padded on the left
@@ -2487,11 +2478,9 @@ Functions that are marked *async* are asynchronous which can lead to unexpected
24872478

24882479
See <<Advanced Topics>> for more information on <<Map Printing>>.
24892480

2490-
[%header,cols="~,~,~"]
2481+
[%header]
24912482
|===
2492-
| Function Name
2493-
| Description
2494-
| Sync/async
2483+
| Function Name | Description | Sync/async
24952484

24962485
| <<map-functions-avg, `avg(int64 n)`>>
24972486
| Calculate the running average of `n` between consecutive calls.

0 commit comments

Comments
 (0)