Skip to content

Instantly share code, notes, and snippets.

#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) ...
; ModuleID = 'just-the-function.ll'
source_filename = "julia"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128-ni:10:11:12:13"
target triple = "x86_64-unknown-linux-gnu"
%jl_value_t = type opaque
%jl_array_t = type { i8 addrspace(13)*, i64, i16, i16, i32 }
@"+Main.Core.Tuple1098" = external hidden global %jl_value_t*
@"jl_global#4267" = external hidden global %jl_value_t*
@Keno
Keno / watchpoint2.c
Last active December 24, 2019 22:49
#include "util.h"
#define ARRAY_SIZE(a) \
((sizeof(a) / sizeof(*(a))) / \
!(sizeof(a) % sizeof(*(a))))
struct DebugControl {
uintptr_t dr0_local : 1;
uintptr_t dr0_global : 1;
uintptr_t dr1_local : 1;