Nicolas Hillegeer
Nicolas Hillegeer
> When vim.async is avaiable, this can be simplified to: > > ```lua > vim.async.run(vim.async.await, myfuncwithcallback):wait(timeout_ms) > ``` I haven't used languages with await (just read up on the [JavaScript...
The full example with comments makes more sense. This is veering even more off-topic and I don't want to derail any further, except to leave my final comment, for those...
Apart from the digression around the example (await). Is there anything holding up this PR? It seems like adding a continuation is what's intended/needed regardless of what the interface for...
I too experience this issue. Sometimes I forget to close down kodi on my HTPC and it's running until the next time I want to watch something. The HTPC isn't...
I just had a thought that this may be due to frame pointers being omitted in libraries, like glibc (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767756, I'm on Debian). But that can't be the whole...
Dissasembly of `epoll_pwait`, `uv__hrtime` and `uv_write2` (mentioned broken stack in the original post): ``` 0000000000000000 : 0: 31 ff xor %edi,%edi 2: e9 00 00 00 00 jmpq 7 7:...
> ustack stores both the pid and the stackid as the pid is needed to translate addresses to symbols, so they're unique entries which just get printed the same way...
> I've spent some time hacking on lbr+bpf in the kernel (have a patch on lkml pending) and I think it would be quite tricky to get lbr based stacks...
> For dwarf we would have to copy the stack so we can walk through it. bpf won't know which stacks are the same either, so none of the aggregation...
> You can printf individual stacks, like: bpftrace -e 'p:hz:1 { printf("%s\n", ustack()); }' Yes, I can. But what I was trying to say is that this uses the same...