Skip to main content

System call energy consumption profiler utilizing eBPF

Project description

sysrapl

Profiler of energy use of system calls.

This project is the result of my bachelor's thesis. It was created as a collector for the Perun project but is also usable usable standalone.

Dependencies

  • python >= 3.6
  • libbpf >= 1.0
  • Linux kernel built with CONFIG_DEBUG_INFO_BTF=y option

clang is required due to lack of support for BPF in GCC.

Build

Build dependencies

  • meson >= 0.56
  • clang/LLVM >= 10
  • bpftool

Build instructions

# Project installation
$ CC=clang pip install .
$ CC=clang pip install .[dev,report] # Install also optional dependencies

# Documentation build
$ pdoc -d numbpy sysrapl

Links

Citing

When using or referencing this project, consider using the following citation:

MÍCHAL, Ondřej. Analysis of software resource consumption. Brno, 2023. Bachelor’s thesis. Brno University of Technology, Faculty of Information Technology. Supervisor Ing. Jiří Pavela

License

This project is licensed under GNU GPLv3 license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sysrapl-0.1.0.tar.gz (732.2 kB view details)

Uploaded Source

File details

Details for the file sysrapl-0.1.0.tar.gz.

File metadata

  • Download URL: sysrapl-0.1.0.tar.gz
  • Upload date:
  • Size: 732.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for sysrapl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e9b588b8de1318f30e0311e2e2354a88392934b5344525655952661d3b3315e2
MD5 b25586c5efa8e967dc662f906b71d532
BLAKE2b-256 b89c0085713a80956aa3063c1e220dec5f53bd43e8ecdd284bc61cb3516f150b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page