Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We need pahole >= 1.23 so it generates BTF_KIND_DECL_TAG and BTF_KIND_TYPE_TAG. See cilium/ebpf#713
- Loading branch information
Showing
29 changed files
with
67 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1657105395 | ||
1658247218 |
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/sh | ||
# A script to install pahole from source. | ||
|
||
set -eu | ||
|
||
tmp="$(mktemp -d)" | ||
trap 'rm -rf "$tmp"' EXIT | ||
readonly tmp | ||
|
||
cd "$tmp" | ||
git clone --recurse-submodules --branch "$1" --single-branch https://git.kernel.org/pub/scm/devel/pahole/pahole.git pahole | ||
mkdir pahole/build | ||
cd pahole/build | ||
cmake -D__LIB=lib .. | ||
make install | ||
ldconfig |