forkstat:master

Last commit made on 2021-09-17
Get this branch:
git clone -b master https://git.launchpad.net/forkstat

Branch merges

Branch information

Name:
master
Repository:
lp:forkstat

Recent commits

f280ab1... by Colin Ian King

snapcraft: add build architectures

Signed-off-by: Colin Ian King <email address hidden>

62d9c8e... by Colin Ian King

snapcraft: update to core20

Signed-off-by: Colin Ian King <email address hidden>

e88ba6f... by Colin Ian King

update copyright to 2021

Signed-off-by: Colin Ian King <email address hidden>

2acafb7... by Colin Ian King

Debian: update changelog

Signed-off-by: Colin Ian King <email address hidden>

e4ae41a... by Colin Ian King

Makefile: bump version

Signed-off-by: Colin Ian King <email address hidden>

52855e0... by Colin Ian King

forkstat: handle weird comm field in /proc/$PID/stat

The comm field can contain extra spaces and ) so the %s parsing
of the field will fail. Add a helper function that can fetch the
Nth field from /proc/$PID/stat that handles any broken comm fields.

Signed-off-by: Colin Ian King <email address hidden>

e261953... by Colin Ian King

conditionally build in helper functions

Some helper functions can be conditionally build-in depending
on the kernel version.

Signed-off-by: Colin Ian King <email address hidden>

959d593... by Colin Ian King

Only declare variables when they are required

Variables pid, ppid and is_thread need only to be declared
if the kernel is 2.6.14 or higher

Signed-off-by: Colin Ian King <email address hidden>

987b5e4... by Colin Ian King

snapcraft: replace version-script with an override

Signed-off-by: Colin Ian King <email address hidden>

ba642ad... by Colin Ian King

Debian: update changelog

Signed-off-by: Colin Ian King <email address hidden>