Skip to content

Instantly share code, notes, and snippets.

profiling results for thread "dd" (1585):
tick interval: 100 us
total ticks: 134989 (13498900 us)
expected ticks: 144035 (missed 9046)
unknown ticks: 0 (0 us, 0.00%)
dropped ticks: 1014 (101400 us, 0.75%)
hits unknown image
------------------------------------------------------------------------------
131944 0 1 kernel_x86_64
@X547
X547 / RadixTreeMap.cpp
Created August 27, 2024 22:02
RadixTree
#include "RadixTreeMap.h"
#include <new>
#include <algorithm>
#include <AutoDeleter.h>
#include "BitUtils.h"
#define CHECK_RET(err) {status_t _err = (err); if (_err < B_OK) return _err;}
This log is saved to: C:\Users\chugi\AppData\Local\Temp\gdb-cmds13169465181648894798.log
NB build: 21-b15c9b7692b2764be5a997d056e2283b72ae9131
=thread-group-added,id="i1"
~"GNU gdb (GDB) 15.1.90.20240710-git\n"
~"Copyright (C) 2024 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
~"\nType \"show copying\" and \"show warranty\" for details.\n"
~"This GDB was configured as \"x86_64-unknown-haiku\".\n"
@X547
X547 / Configure.sh
Created July 22, 2024 15:54
gdb-haiku configure script
#!sh
basePath="$PWD"
mkdir -p build.$(getarch)
cd build.$(getarch)
../source/configure \
--disable-nls \
--disable-binutils \
--disable-ld \
--disable-gold \
This log is saved to: C:\Users\chugi\AppData\Local\Temp\gdb-cmds10242353604287662790.log
NB build: 21-b15c9b7692b2764be5a997d056e2283b72ae9131
=thread-group-added,id="i1"
~"GNU gdb (GDB) 15.1.90.20240710-git\n"
~"Copyright (C) 2024 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
~"\nType \"show copying\" and \"show warranty\" for details.\n"
~"This GDB was configured as \"x86_64-unknown-haiku\".\n"
This log is saved to: C:\Users\chugi\AppData\Local\Temp\gdb-cmds13681009269629460136.log
NB build: 21-b15c9b7692b2764be5a997d056e2283b72ae9131
=thread-group-added,id="i1"
~"GNU gdb (GDB) 15.1.90.20240710-git\n"
~"Copyright (C) 2024 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
~"\nType \"show copying\" and \"show warranty\" for details.\n"
~"This GDB was configured as \"x86_64-unknown-haiku\".\n"
This log is saved to: C:\Users\chugi\AppData\Local\Temp\gdb-cmds16349666146967068135.log
NB build: 21-b15c9b7692b2764be5a997d056e2283b72ae9131
=thread-group-added,id="i1"
~"GNU gdb (GDB) 15.1.90.20240710-git\n"
~"Copyright (C) 2024 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
~"\nType \"show copying\" and \"show warranty\" for details.\n"
~"This GDB was configured as \"x86_64-unknown-haiku\".\n"
This log is saved to: C:\Users\chugi\AppData\Local\Temp\gdb-cmds10274819212708187465.log
NB build: 21-b15c9b7692b2764be5a997d056e2283b72ae9131
=thread-group-added,id="i1"
~"GNU gdb (GDB) 15.1.90.20240710-git\n"
~"Copyright (C) 2024 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
~"\nType \"show copying\" and \"show warranty\" for details.\n"
~"This GDB was configured as \"x86_64-unknown-haiku\".\n"
This log is saved to: C:\Users\chugi\AppData\Local\Temp\gdb-cmds5654615719044095433.log
NB build: 21-b15c9b7692b2764be5a997d056e2283b72ae9131
=thread-group-added,id="i1"
~"GNU gdb (GDB) 15.1.90.20240710-git\n"
~"Copyright (C) 2024 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
~"\nType \"show copying\" and \"show warranty\" for details.\n"
~"This GDB was configured as \"x86_64-unknown-haiku\".\n"
This log is saved to: C:\Users\chugi\AppData\Local\Temp\gdb-cmds1441430974825977309.log
NB build: 21-b15c9b7692b2764be5a997d056e2283b72ae9131
=thread-group-added,id="i1"
~"GNU gdb (GDB) 15.1.90.20240710-git\n"
~"Copyright (C) 2024 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
~"\nType \"show copying\" and \"show warranty\" for details.\n"
~"This GDB was configured as \"x86_64-unknown-haiku\".\n"