@@ -242,6 +242,7 @@ RDEPENDS:packagegroup-meta-oe-devtools = "\
debootstrap \
dmalloc \
${@bb.utils.contains("PACKAGE_CLASSES", "package_rpm", "dnf-plugin-tui", "", d)} \
+ fatrace \
flatbuffers \
${@bb.utils.contains("DISTRO_FEATURES", "x11", "geany-plugins geany", "", d)} \
giflib \
new file mode 100644
@@ -0,0 +1,18 @@
+SUMMARY = "Report file access events, with the process that caused them"
+DESCRIPTION = "fatrace reports file access events from all running processes, \
+using fanotify."
+HOMEPAGE = "https://github.com/martinpitt/fatrace"
+
+LICENSE = "GPL-3.0-or-later"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+SRC_URI = "git://github.com/martinpitt/fatrace;protocol=https;branch=main;tag=${PV}"
+SRCREV = "793b81894ee442d5b1c8fdeb1270ecd4e41b32c4"
+
+do_install() {
+ oe_runmake 'PREFIX=${prefix}' 'DESTDIR=${D}' install
+}
+
+PACKAGE_BEFORE_PN = "power-usage-report"
+RDEPENDS:power-usage-report += "${PN} powertop python3-core"
+FILES:power-usage-report = "${sbindir}/power-usage-report"
fanotify-based file access tracer which reports the responsible process. power-usage-report is split into its own package as it needs powertop and python3. AI-Generated: Claude Opus 5 (Claude Code) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> --- .../packagegroups/packagegroup-meta-oe.bb | 1 + .../recipes-devtools/fatrace/fatrace_0.20.0.bb | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 meta-oe/recipes-devtools/fatrace/fatrace_0.20.0.bb