Skip to content

Instantly share code, notes, and snippets.

View Sylfrena's full-sized avatar
🐼

Sumera Sylfrena

🐼
View GitHub Profile
@Sylfrena
Sylfrena / arm64-test-5.4.17.txt
Created December 14, 2023 13:09
kerneltests-arm-the-usual-5.4problems
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd070]
[ 0.000000] Linux version 5.4.176 (flo@t14.der-flo.net) (gcc version 12.1.1 20220507 (Red Hat Cross 12.1.1-1) (GCC)) #2 SMP PREEMPT Fri Jul 15 10:12:55 CEST 2022
[ 0.000000] Machine model: linux,dummy-virt
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 32 MiB at 0x00000000be000000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000bfffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0xbdbf3800-0xbdbf4fff]
[ 0.000000] Zone ranges:
mkdir -p pkg/profiler/cpu
make -C bpf build
make[1]: Entering directory '/home/larkin/Aimia/polar/parca-agent/bpf'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/home/larkin/Aimia/polar/parca-agent/bpf'
cp bpf/cpu/cpu.bpf.o pkg/profiler/cpu/cpu-profiler.bpf.o
sudo CGO_ENABLED=1 GOOS=linux GOARCH=amd64 CC="clang" CGO_CFLAGS="-I/home/larkin/Aimia/polar/parca-agent/dist/libbpf/amd64/usr/include" CGO_LDFLAGS="-fuse-ld=ld -lzstd /home/larkin/Aimia/polar/parca-agent/dist/libbpf/amd64/libbpf.a" /usr/local/go/bin/go test -v ./test/integration/... -count=1
[sudo] password for larkin:
=== RUN TestCPUProfilerWorks
--- FAIL: TestCPUProfilerWorks (1.85s)
#include <stdlib.h>
void strcpy(char *dest, char *src) {
while (*src != '\0') {
*dest = *src;
dest++, src++;
}
*dest = '\0';
}
@Sylfrena
Sylfrena / Cover letter for Community Bridge Project: Make Coccicheck.md
Created August 21, 2020 20:50
Cover letter for Community Bridge Project: Make Coccicheck

Community Bridge Report for Refurbish Make Coccicheck: Phase 1

This report contains the work done during the first 3 weeks of the Community Bridge program for the project Refurbishing Make Coccicheck.

After the initial discussion with my mentor, the project work for the first phase was divided into 2 parts:

  • Week 1-2: Identifying key areas where the coccicheck script can be improved- both in terms of usability and performance.
  • Week 3: Test coccinelle scripts, send patches as required, and eventually improve and incorporate them into the linux kernel.

Work accomplished so far