!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

523 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant136 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
12 Feb 2025
@k900:0upti.meK900
In reply to@motiejus:jakstys.lt
Unrelated: can I start lobbying a CFLAG -fno-omit-frame-pointer, at least on x86_64-linux? So I don't need to do such partial hacks. Some background reading by Brendan Gregg.
We tend to use debuginfo for this instead
08:57:01
@motiejus:jakstys.ltmotiejusCan you elaborate?09:07:19
@k900:0upti.meK900We have debuginfo for most hot path packages10:00:19
@k900:0upti.meK900And you can use that with perf to get proper unwinding without frame pointers10:00:33
@k900:0upti.meK900(at the cost of some post-processing time)10:00:41
@motiejus:jakstys.ltmotiejusGreat! I see Python is in the list that has separate debuginfo pkgs; I'll poke around.15:56:01
@motiejus:jakstys.ltmotiejusback to my argument: although the same can be achieved with dbginfo for select packages and is hugely helpful for gdb, but in profiling use case, we don't need to bear the cost of separate dbginfo -- the size and binary is almost the same with frame pointers. :)15:56:58
@motiejus:jakstys.ltmotiejus* back to the original argument about frame pointers: although the same can be achieved with dbginfo for select packages and is hugely helpful for gdb, but in profiling use case, we don't need to bear the cost of separate dbginfo -- the size and binary is almost the same with frame pointers. :)16:01:15
@motiejus:jakstys.ltmotiejus* back to the original argument about frame pointers: yes, the same can be achieved with dbginfo for select packages and is hugely helpful for gdb. However, in profiling use case, we don't need to bear the cost of separate dbginfo -- the size and binary is almost the same with frame pointers. :)e16:01:33
@motiejus:jakstys.ltmotiejus* back to the original argument about frame pointers: yes, the same can be achieved with dbginfo for select packages and is hugely helpful for gdb. However, in profiling use case, we don't need to bear the cost of separate dbginfo -- the size and binary is almost the same with frame pointers. :)16:01:39
@motiejus:jakstys.ltmotiejuse.g. in my case, this flag is not available on OpenMP, of which I'd like to have stack frames of in the flamegraph16:03:22
@kira:jakira.spaceKira changed their display name from kira to Kira.19:59:42
@hexa:lossy.network@hexa:lossy.network
02:00.0 System peripheral: Global Unichip Corp. Coral Edge TPU
20:15:00
@hexa:lossy.network@hexa:lossy.network
[   20.102983] apex 0000:02:00.0: Apex performance not throttled due to temperature
20:15:50

Show newer messages


Back to Room ListRoom Version: 6