Skip to content

Commit 5f96225

Browse files
committed
doc-fix : clang and cmake skeleton generation doc update for ebpf
Signed-off-by: Abhishek Jha <[email protected]>
1 parent 5e499f3 commit 5f96225

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pipeline/inputs/ebpf.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ To enable `in_ebpf`, ensure the following dependencies are installed on your sys
1515
- **Required Packages**:
1616
- `bpftool`: Used to manage and debug eBPF programs.
1717
- `libbpf-dev`: Provides the `libbpf` library for loading and interacting with eBPF programs.
18+
- `clang`: Clang compiler
1819
- **CMake** 3.13 or higher: Required for building the plugin.
1920

2021
### Installing Dependencies on Ubuntu
2122
```bash
2223
sudo apt update
23-
sudo apt install libbpf-dev linux-tools-common cmake
24+
sudo apt install libbpf-dev linux-tools-common cmake clang
2425
```
2526

2627
## Building Fluent Bit with `in_ebpf`
@@ -39,7 +40,7 @@ Create a build directory and run `cmake` with the `-DFLB_IN_EBPF=On` flag to ena
3940
```bash
4041
mkdir build
4142
cd build
42-
cmake .. -DFLB_IN_EBPF=On
43+
cmake --DFLB_IN_EBPF=On --target=flb-ebpf-generate_skeletons ..
4344
```
4445

4546
3. **Compile the Source**

0 commit comments

Comments
 (0)