ChanServ changed the topic of #crystal-lang to: The Crystal programming language | | Fund Crystal's development: | GH: | Docs: | Gitter:
ur5us has joined #crystal-lang
<FromGitter> <mattrberry> Any idea why some of the debug symbols are listed as "??" ?
<FromGitter> <domgetter> What perf command did you use to make the file?
<FromGitter> <mattrberry> I'm using the default settings in the Hotspot profiler. I'll try to figure out what that passes to perf
<FromGitter> <mattrberry> `perf record -o /home/matt/ --call-graph dwarf --sample-cpu`
ur5us has quit [Ping timeout: 250 seconds]
ejjfunky has joined #crystal-lang
ur5us has joined #crystal-lang
taupiqueur has joined #crystal-lang
ur5us has quit [Quit: Leaving]
ur5us has joined #crystal-lang
[R] has quit [Read error: Connection reset by peer]
ur5us has quit [Ping timeout: 240 seconds]
<FromGitter> <naqvis> > Any idea why some of the debug symbols are listed as "??" ? ⏎ ⏎ might be from external libraries which aren't built with debug info.
<FromGitter> <naqvis> most probably from GLibC or similar deps
<yxhuvud> I use amd uprof for profiling. simple enough even if it isn't optimal.
taupiqueur has quit [Ping timeout: 240 seconds]
taupiqueur has joined #crystal-lang
taupiqueur has quit [Quit: taupiqueur]
renich has joined #crystal-lang
renichbon has joined #crystal-lang
renich has quit [Ping timeout: 260 seconds]
<FromGitter> <> I've tried to set up debugging in vscode on ubuntu (on wsl). ⏎ I've installed `lldb`. The instructions use `lldb-mi`, but it's missing. ⏎ ⏎ In the bin folder, there are symlinks to various lldb tools and there is one for `lldb-mi`, but it seems to be pointing to a missing file. ⏎ ... []
ejjfunky has quit [Ping timeout: 256 seconds]
<FromGitter> <domgetter> WSL1 or WSL2?
<FromGitter> <domgetter> (to check run `wsl -l -v` in command prompt)
<FromGitter> <> v 2
<FromGitter> <> (win 10)
<FromGitter> <> /usr/bin looks like this
<FromGitter> <> fwiw, running `lldb-mi` returns: ⏎ ⏎ Command 'lldb-mi' not found, but can be installed with: ⏎ sudo apt install lldb []
<FromGitter> <> but that's what I've installed it with today. Re-running it doesn't change anything.
<FromGitter> <domgetter> what happens if you try to run `lldb-mi-10` ?
<FromGitter> <domgetter> looks like you will have to build it from source:
<FromGitter> <domgetter> `llbd-mi` doesn't ship with `llvm-toolchain since "it doesn't seem to be an official llvm project anymore" (comment 4)
<FromGitter> <domgetter> This is for Ubuntu platforms. I can't speak to other distros (i.e. you may have luck with other WSLs, but you also might have more trouble)
ur5us has joined #crystal-lang
<FromGitter> <jfontan_gitlab> I find the options in linux for profiling not very useful
<FromGitter> <jfontan_gitlab> nor perf or callgrind can tell me wich code uses more time
<FromGitter> <jfontan_gitlab> I can only see library calls using time
ur5us has quit [Ping timeout: 240 seconds]