Skip to content

Instantly share code, notes, and snippets.

@Keno
Keno / gist:e6fa7b2f8a3870a370644a8725e410bb
Created June 19, 2020 20:57
alacritty --print-events
alacritty --print-events
Created log file at "/tmp/Alacritty-54398.log"
[2020-06-19 16:56] [INFO] Welcome to Alacritty
[2020-06-19 16:56] [INFO] Configuration loaded from "/home/keno/.config/alacritty/alacritty.yml"
[2020-06-19 16:56] [INFO] Device pixel ratio: 1
[2020-06-19 16:56] [INFO] Initializing glyph cache...
[2020-06-19 16:56] [INFO] ... finished initializing glyph cache in 0.004168528s
[2020-06-19 16:56] [INFO] Cell Size: 9 x 17
[2020-06-19 16:56] [INFO] Padding: 0 x 0
[2020-06-19 16:56] [INFO] Width: 800, Height: 600
@Keno
Keno / Results (aarch64)
Last active May 25, 2020 02:24
Behavior of process_vm_* syscalls on various architectures
Size 2 copy at page_size - 1: 0
1 bytes less than could have been written
Size 3 copy at page_size - 1: 0
1 bytes less than could have been written
Size 4 copy at page_size - 1: 0
1 bytes less than could have been written
Size 5 copy at page_size - 1: 0
1 bytes less than could have been written
Size 6 copy at page_size - 1: 0
1 bytes less than could have been written
#define _GNU_SOURCE
#include <assert.h>
#include <stdio.h>
#include <sys/mman.h>
#include <sys/uio.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
int main(void) {
size_t page_size = sysconf(_SC_PAGESIZE);
#include <assert.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <asm/ptrace.h>
#include <sys/ptrace.h>
#include <sys/syscall.h>
#include <sys/wait.h>
#include <sys/uio.h>
timeout 120 exceeded
====== /proc/2213017/status
Name: rr
Umask: 0002
State: S (sleeping)
Tgid: 2213017
Ngid: 2213017
Pid: 2213017
PPid: 2213016
TracerPid: 0
27×5 DataFrames.DataFrame
│ Row │ cat │ testname │ ref_res │ test_res │ factor │
│ │ String │ String │ Any │ Any │ Any │
├─────┼─────────────┼───────────────────────────┼──────────────────────────────────────────┼─────────────────────────────────┼───────────┤
│ 1 │ info │ SysBenchVer │ 0.2.1 │ 0.2.1 │ Equal │
│ 2 │ info │ JuliaVer │ 1.4.1 │ 1.5.0-DEV.876 │ Not Equal │
│ 3 │ info │ OS │ Linux (x86_64-pc-linux-gnu) │ Linux (aarch64-redhat-linux) │ Not Equal │
│ 4 │ info │ CPU │ Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz │ unknown │ Not Equal │
│ 5 │ info │ WOR
diff --git a/gen/gtk_get_set_gen.jl b/gen/gtk_get_set_gen.jl
index 4c9022d..bb30348 100644
--- a/gen/gtk_get_set_gen.jl
+++ b/gen/gtk_get_set_gen.jl
@@ -46,6 +46,9 @@ const GtkTypeMap = Set{Symbol}([
:GtkListStore,
:GtkMenu,
:GtkMenuItem,
+ :GtkRadioMenuItem,
+ :GtkImageMenuItem,
process 3425731 sent SIGURG
====== /proc/3425700/status
Name: python3
Umask: 0002
State: S (sleeping)
Tgid: 3425700
Ngid: 0
Pid: 3425700
PPid: 3425692
TracerPid: 0
rr: rr pid 108826 running under parent 108814. Good luck.
Python Exception <type 'exceptions.ImportError'> No module named gdb:
/home/keno/binutils-gdb/gdb/gdb: warning:
Could not load the Python gdb module from `/usr/local/share/gdb/python'.
Limited Python support is available from the _gdb module.
Suggest passing --data-directory=/path/to/gdb/data-directory.
GNU gdb (GDB) 10.0.50.20200328-git
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
@Keno
Keno / rrlog
Last active March 27, 2020 06:59
This file has been truncated, but you can view the full file.
--------------------------------------------------
---> Reached target process 108827 at event 1082.
--------------------------------------------------
[ReplaySession] Deepforking ReplaySession 0x555985f8e250 ...
[ReplaySession] deepfork session is 0x555985fb0070
[Session] forking tg 108826 (real: 109048)
[AutoRemoteSyscalls] syscall clone { args:(0x11,0,0,0,0,94713303821169) orig_syscall:247 }
[Task] resuming execution of 109048 with PTRACE_SINGLESTEP tick_period -2 wait 0
[Task] Flushing registers for tid 109048 { args:(0x11,0,0,0,0,94713303821169) orig_syscall:247 }
[Task] going into blocking waitid(109048) ...