Difference between revisions of "EBPF"
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| ⚫ | |||
| ⚫ | |||
| − | |||
| ⚫ | |||
== Prepare == |
== Prepare == |
||
| Line 23: | Line 19: | ||
bpftool prog load trace_file_delete.o /sys/fs/bpf/trace_file_delete |
bpftool prog load trace_file_delete.o /sys/fs/bpf/trace_file_delete |
||
| + | |||
| + | == List == |
||
| + | |||
| + | bpftool prog list |
||
== Unload == |
== Unload == |
||
| Line 29: | Line 29: | ||
== External Links == |
== External Links == |
||
| + | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
{{Draft}} |
{{Draft}} |
||
Latest revision as of 12:50, 29 June 2025
Prepare
Might be needed:
sudo ln -s /usr/include/x86_64-linux-gnu/asm /usr/include/asm
sudo apt install bpftool clang llvm libbpf-dev
bpftool btf dump file /sys/kernel/btf/vmlinux format c > vmlinux.h
Compile
clang -O2 -g -target bpf -c trace_file_delete.c -o trace_file_delete.o
Load
bpftool prog load trace_file_delete.o /sys/fs/bpf/trace_file_delete
List
bpftool prog list
Unload
rm /sys/fs/bpf/trace_file_delete
External Links
EBPF is a draft article and may contain little or no information on the topic but notes are available below.
This article will not be published on A Voice for Men or appear in random article selections. Wiki4Men is looking for trustworthy editors that can turn draft articles in to featured articles. Information on how to apply is on the Main Page.
In lieu of the article, the following is provided:
General Information
The main purpose of Wiki4Men is to provide a repository for information, studies, and research on men and boys and the broad range of issues affecting them, without feminist, misandric, gynocentric or woke bias. Wiki4Men also discusses issues of interest to MRAs, documents the evolution of the men's rights movement itself & misandry for posterity, and discusses issues of identity politics beyond the sphere of gender. The primary audience for Wiki4Men is MRAs, supporters of men's rights and the genuinely curious.
Starting in November 2023 topics that are more likely to be of interest to men are being added to the wiki.
The table below provides information on the number of articles in Wiki4Men.
| Category | Number |
|---|---|
| Biographies | 4,737 |
| Featured | 1,610 |
| Glossary | 472 |
| Unknown Persons | 271 |
| Information Technology | 42 |
| Draft Articles | 5,593 |
Featured articles may appear on A Voice for Men or other sites.
Wiki4Men is brought to you by A Voice for Men. More information on the wiki itself is available here. The Managing Editor is Robert Brockway.
In order to use the site, search for a term that interests you, choose from our Featured Articles or try a random article.
This site encourages publication of factual information about men and women and the cultural contexts in which they meet. It aims to be the keeper of rational and evidence-based conclusions, while rejecting popular forms of gender bigotry.
Due to licence compatibility articles may be imported from Wikipedia with appropriate attribution. These articles can then be corrected for woke bias and other problems. Generally only selected sections of articles are imported from Wikipedia as many Wikipedia articles are now so long that they obscure important information.
Wiki4Men rejects gynocentric and misandric narratives.
Draft Notes
Technical articles in this category are applicable to Linux. Debian GNU/Linux is used in examples. Much of the information is also applicable to other Linux distributions and Unix flavours.