cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | mac OS and Fedora are not Windows
DRMacIver has quit [Ping timeout: 252 seconds]
DRMacIver has joined #pypy
smvv has quit [Quit: Connection closed for inactivity]
mattip has joined #pypy
demonimin has quit [Ping timeout: 245 seconds]
demonimin has joined #pypy
demonimin has joined #pypy
LarstiQ has quit [Ping timeout: 246 seconds]
LarstiQ has joined #pypy
demonimin has quit [Ping timeout: 246 seconds]
jcea has quit [Quit: jcea]
demonimin has joined #pypy
_whitelogger has joined #pypy
ronan has quit [Ping timeout: 252 seconds]
ronan has joined #pypy
<mattip>
_aegis_: the blake2b and blake2s implementations should be imported when you import hashlib.py in lib-python/3
<mattip>
you should do that import once as part fo the build script since the first time they use cffi to compile
<mattip>
post-translation
dddddd has quit [Remote host closed the connection]
Garen has joined #pypy
Garen_ has quit [Ping timeout: 272 seconds]
_whitelogger has joined #pypy
<_aegis_>
oh I see modules were added to build_cffi_imports and the error was just confusing
tayfun26 has joined #pypy
<_aegis_>
ok it's kinda confusing that build_cffi_imports throws the same errors
<_aegis_>
but I see it works afterwards
tayfun26 has quit [Quit: tayfun26]
tayfun26 has joined #pypy
arigato-c has joined #pypy
jamesaxl has joined #pypy
Remi_M has joined #pypy
smvv has joined #pypy
arigato-c has quit [Ping timeout: 240 seconds]
jamesaxl has quit [Ping timeout: 268 seconds]
<smvv>
I made a small tool to visualize pypy trace logs: https://github.com/smvv/pypy-traceview/ It has some ideas from jitviewer (e.g. use objdump for disassembling). I couldn't get jitviewer to work on my machine, so I tried to build something simple. I've added some tests to the code base to prevent bitrot. What do you think?
lritter has joined #pypy
<cfbolz>
smvv: nice! I'll try it the next time I am reading some logs :-)
mattip has quit [Ping timeout: 260 seconds]
mattip has joined #pypy
jcea has joined #pypy
nunatak has joined #pypy
jamesaxl has joined #pypy
arigato has joined #pypy
arigato has quit [Ping timeout: 246 seconds]
arigato has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 250 seconds]
marky1991 has joined #pypy
dddddd has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 268 seconds]
dan- has quit [Ping timeout: 246 seconds]
nunatak has quit [Quit: Leaving]
jacob22__ has quit [Quit: Konversation terminated!]
<Remi_M>
smvv: looks awesome! I also sometimes struggled with getting jitviewer to work with recent or modified versions of pypy.
<Remi_M>
It would be cool if you could link the traces and bridges, and maybe show a graphical representation of the trace-tree (similar to what vmprof can do (vmprof.com is down?)). I always got lost when I tried to navigate through the traces with jitviewer...
<arigato>
yes, nice! my own feature request is to link the RPython IR with the actual assembler, using the numbers that appear as prefixes in both column
arigato has quit [Read error: Connection reset by peer]
forgottenone has joined #pypy
tayfun26 has quit [Quit: tayfun26]
dan- has joined #pypy
dan- has quit [Changing host]
dan- has joined #pypy
arigato has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 272 seconds]
adamholmberg has joined #pypy
sknebel has joined #pypy
smvv has quit [Quit: Connection closed for inactivity]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 272 seconds]
adamholmberg has joined #pypy
smvv has joined #pypy
<smvv>
@Remi_M do you have a screenshot or something that shows a trace-tree? I made a visualizer for spidermonkey's IR. The first screen was a graph where each node was a basic block. The nodes has a darker red when the node was more executed ("hot") than the others. Not sure if that is what you mean. I also thought about a simple filter (e.g. filenames, method names) that will only show the traces that have those names in it