backend.ai-hook

Hooking library-level functions for Backend.AI kernel containers

Github stars Tracking Chart

Backend.AI Hook

A user-level hooker to override library functions inside Backend.AI's kernel containers

Features

  • Override sysconf() to expose the number of actually schedulable CPU cores based on sysfs cgroup
    CPU set information.
  • Override scanf() to get the user keyboard input via the local Backend.AI Agent.

How to build

For musl-compatible build using Alpine Linux, run:

./build.sh alpine

For glibc-compatible build using Debian Linux, run:

./build.sh ubuntu

How to run tests

./test.sh alpine
./test.sh ubuntu

Main metrics

Overview
Name With Ownerlablup/backend.ai-hook
Primary LanguageC++
Program languageDockerfile (Language Count: 6)
Platform
License:GNU Lesser General Public License v3.0
所有者活动
Created At2017-09-04 08:30:07
Pushed At2024-06-04 13:10:59
Last Commit At2024-06-04 15:42:10
Release Count0
用户参与
Stargazers Count0
Watchers Count12
Fork Count3
Commits Count37
Has Issues Enabled
Issues Count1
Issue Open Count0
Pull Requests Count8
Pull Requests Open Count5
Pull Requests Close Count1
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private