Skip to content

Instantly share code, notes, and snippets.

View julian-klode's full-sized avatar

Julian Andres Klode julian-klode

View GitHub Profile
#!/bin/bash -x
GRUB_DIR=/usr/lib/grub/x86_64-efi
[ "$SHIM" ] || SHIM=/usr/lib/shim/shimx64.efi
set -e
tmp=$(mktemp -d)
trap "rm -rf $tmp" exit
if echo "$1" | grep -q '.deb'; then
Transaction ID: 739
Start time: 2026-02-16 12:25:02
End time: 2026-02-16 12:29:36
Requested by: jak (1000)
Command line: apt dist-upgrade
Packages changed:
Install glycin-thumbnailers:amd64 (2.0.7+ds-5ubuntu1, automatic)
Install libcomposefs1:amd64 (1.0.8-3, automatic)
Install libsimdutf31:amd64 (8.0.0-1, automatic)
Install linux-firmware-amd-graphics:amd64 (20260123.git1b7b9f6c-0ubuntu1, automatic)
@julian-klode
julian-klode / perf-5.log
Last active February 10, 2026 20:06
perf_event_open() only works for group of up to 5 items on kernel 6.18, Ryzen 6850U; 6 seems to pass but is all 0s.
execve("./a.out", ["./a.out"], 0x7ffe6b19fd00 /* 86 vars */) = 0
brk(NULL) = 0x5bc7cb51f000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x724d0aa3e000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=121541, ...}) = 0
mmap(NULL, 121541, PROT_READ, MAP_PRIVATE, 3, 0) = 0x724d0aa20000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\247\2\0\0\0\0\0"..., 832) = 832
# Script to compare apt performance logs
#
# Copyright (C) 2026 Julian Andres Klode <jak@debian.org>
#
# SPDX-License-Identifier: GPL-2.0+
import sys
import typing
import pandas as pd
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.