Skip to content

Instantly share code, notes, and snippets.

View GitMensch's full-sized avatar

Simon Sobisch GitMensch

  • Germany
  • 20:21 (UTC +02:00)
View GitHub Profile
# see https://github.com/gitpod-io/gitpod/issues/8893
sudo apt install -y bison flex libelf-dev libnewt-dev libdw-dev libaudit-dev libiberty-dev libunwind-dev libcap-dev libzstd-dev libnuma-dev libssl-dev python3-dev python3-setuptools binutils-dev gcc-multilib liblzma-dev systemtap-sdt-dev
# you _may_ need asciidoc, too; that's quite a big one
cd /workspace
git clone --depth 1 --filter=blob:none --sparse git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git
cd linux
git sparse-checkout set dir tools scripts
git fetch --depth 1 origin v5.15
make -C tools/perf
@GitMensch
GitMensch / coredumpselect.py
Created November 9, 2022 22:20 — forked from mic-e/coredumpselect.py
replacement for coredumpctl
#!/usr/bin/env python3
"""
Allows the user to select one of the coredumps from the journal using fzf,
places the coredump at the given path (default /tmp/coredump),
links the related program binary to the given path (default /tmp/coredump-program),
and optionally attaches gdb.
"""
import argparse