Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packages for the Linux perf profiler #600

Open
wants to merge 21 commits into
base: testing
Choose a base branch
from
Open
Changes from 3 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
deb8325
perf: Package for the Linux perf profiler
matteodelabre Jun 25, 2022
2ca282f
Merge branch 'testing' into package/perf/initial
matteodelabre Jun 26, 2022
5f73e76
Merge branch 'testing' into package/perf/initial
Eeems Sep 26, 2022
4a45df8
Merge branch 'testing' into package/perf/initial
Eeems Oct 1, 2022
af9bced
Merge branch 'testing' into package/perf/initial
Eeems Oct 29, 2022
e909c5b
Merge branch 'testing' into package/perf/initial
Eeems Nov 7, 2022
94c486b
Merge branch 'testing' into package/perf/initial
Eeems Nov 21, 2022
06b53a9
Add linux-mainline-perf and linux-stracciatella-perf as split packages
matteodelabre Nov 21, 2022
fd46dac
Install python->python3 symlink for build
matteodelabre Nov 21, 2022
c1d12e7
Disable werror for old kernel perf build
matteodelabre Nov 21, 2022
4f85b60
Add provides/conflicts for perf packages
matteodelabre Nov 28, 2022
84b5f00
Merge branch 'testing' into package/perf/initial
Eeems Aug 8, 2023
d436b08
Merge branch 'testing' into package/perf/initial
Eeems Aug 30, 2023
f5364cc
Merge branch 'testing' into package/perf/initial
Eeems Sep 8, 2023
9fa1fd5
Merge branch 'testing' into package/perf/initial
Eeems Sep 27, 2023
2aed7f5
Merge branch 'testing' into package/perf/initial
Eeems Nov 27, 2023
e0f0af8
Merge branch 'testing' into package/perf/initial
Eeems Dec 6, 2023
2c607e0
Update package
Eeems Dec 6, 2023
fb3532b
Merge branch 'testing' into package/perf/initial
Eeems Feb 3, 2024
ad523c0
Merge branch 'testing' into package/perf/initial
Eeems Apr 21, 2024
db61784
Merge branch 'testing' into package/perf/initial
Eeems May 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions package/perf/package
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env bash
# Copyright (c) 2022 The Toltec Contributors
# SPDX-License-Identifier: MIT

pkgnames=(perf)
pkgdesc="Linux profiling with performance counters"
url=https://perf.wiki.kernel.org
pkgver=5.18.0-1
timestamp=2022-05-22T21:50:09Z
section=kernel
maintainer="Mattéo Delabre <git.matteo@delab.re>"
license=GPL-2.0-only
makedepends=(build:bc build:lzop build:git build:flex build:bison)

image=base:v2.3
source=(https://github.com/alistair23/linux/archive/f9fe680995e01398f0813077711fe1b744251c5b.tar.gz)
sha256sums=(d38c883a31f5f87483377e78b4b3a2eb1ce73ada38fc25949e692dd0b2dd7895)

build() {
make imx_v6_v7_defconfig
ARCH=arm make tools/perf
}

package() {
install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/tools/perf/perf
ln -s /opt/bin/perf "$pkgdir"/opt/bin/trace
}