<heat>
mjg, dawg are percpu tracing buffers that overflow into a global buffer usually how you do tracing?
<heat>
or do you go per-cpu all the way?
<heat>
fully pcpu is kind of clunky but you avoid having any sort of locks
terminalpusher has joined #osdev
dayimproper has joined #osdev
biblio has quit [Quit: Leaving]
xenos1984 has quit [Ping timeout: 240 seconds]
xenos1984 has joined #osdev
dayimproper has quit [Ping timeout: 268 seconds]
dayimproper has joined #osdev
dayimproper has quit [Ping timeout: 256 seconds]
xenos1984 has quit [Ping timeout: 246 seconds]
MrBonkers has quit [Remote host closed the connection]
MrBonkers has joined #osdev
<geist>
probably fully pcpu
xenos1984 has joined #osdev
terminalpusher has quit [Remote host closed the connection]
zaquest has quit [Ping timeout: 256 seconds]
<mjg>
heat: full pcpu mofer
<mjg>
you size them to avoid overflow
<mjg>
and print warnings if one does happen
bauen1 has quit [Ping timeout: 256 seconds]
bauen1 has joined #osdev
zaquest has joined #osdev
<heat>
ok dad
<heat>
the interface is going to look real awkward
<mjg>
?
<mjg>
watcha tracing anyway
<mjg>
you can probably compute how many per second you can realistically get
<heat>
i'm tracing everything
<mjg>
allocate for that + some safety buf
<heat>
the kernel
<mjg>
and dump every second to clear
<mjg>
what do you mean everything
<heat>
erm, it's a ktrace kind of thing
<heat>
enable tracing, gimme events, bye
<mjg>
if it is really high traffic, you can have the kernel do the dumping
<heat>
thru mmap? doesn't work with my circular buffer thing
<mjg>
if the buf gets close to capacity, you VOP_WRITE in freebsd parlance
<mjg>
:X
<heat>
i'd need to find a new thing
<heat>
if I do full pcpu i'll need at least an fd per cpu, plus a way to say "if we hit this watermark, signal POLLWHATEVER", plus polling every fd and reading from those
<mjg>
you would need an output file per-cpu tho to avoid contention
<heat>
it sounds better than randomly sleeping for 1sec or something and reading shit
<mjg>
i noted kernel itself can just do the write
<heat>
that's silly and I'm not doing it
<mjg>
you do you
<mjg>
ktrace is doing writes on its own :X
<mjg>
you did not look at the magic tech yu were mentioning, did you :X
<heat>
particularly as in my case I won't even need to write to a file
<heat>
what magic tech?
<mjg>
ktrace
<heat>
no, I called my thing ktrace
<heat>
i've never looked at freebsd ktrace
<heat>
k<something> is very overloaded terminology
<mjg>
referring to it a "ktrace kind of thing" in this context was really suggesting somethin'
<mjg>
also i think i mentioned dick sites tracing framework?
zxrom has quit [Read error: Connection reset by peer]
<mjg>
for ze kernel
<heat>
whats a dick sites
<heat>
oh wait its that guy hahaha
<heat>
yes you mentioned cock blogs's tracing thing before
<bslsk05>
dicksites/KUtrace - Low-overhead tracing of all Linux kernel-user transitions, for serious performance analysis. Includes kernel patches, loadable module, and post-processing software. Output is HTML/SVG per-CPU-core timeline that you can pan/zoom down to the nanosecond. (31 forks/252 stargazers/NOASSERTION)
<mjg>
port this motherfucker
zxrom has joined #osdev
<heat>
how about no
<mjg>
i'll tell dick
<heat>
dick sites is going to ban me from dick sites
zxrom has quit [Quit: Leaving]
zxrom has joined #osdev
zxrom has quit [Client Quit]
zxrom has joined #osdev
zxrom has quit [Remote host closed the connection]
bauen1 has quit [Ping timeout: 256 seconds]
bauen1 has joined #osdev
zxrom has joined #osdev
GeDaMo has quit [Quit: That's it, you people have stood in my way long enough! I'm going to clown college!]
<geist>
and if you’re in NZ, also sites about decks
<bslsk05>
reddit.com: Reddit - Dive into anything
<nikolar>
Neat
<heat>
geist, you know what to do
<geist>
Woot
<heat>
why run linux on it if you can run a BeOS clone with a kernel derived from your old OS
<heat>
it's doubly you!
sebonirc has quit [Remote host closed the connection]
sebonirc has joined #osdev
morgan has joined #osdev
dennis95 has quit [Quit: Leaving]
morgan has quit [Ping timeout: 256 seconds]
zxrom has quit [Ping timeout: 256 seconds]
Burgundy has quit [Ping timeout: 276 seconds]
<heat>
mjg, can you confirm that your very recent and nice freebsd system does not have a python3?
<heat>
as in /usr/local/bin/python3 or wherever the fuck you pervs store your port binaries
morgan has joined #osdev
<zid>
why would anybody have python 3
<zid>
we're on python 4 now on onyx
<zid>
(fedora onyx)
Left_Turn has quit [Read error: Connection reset by peer]
<mrvn>
"The Python-4 is an Israeli short-range infrared air-to-air missile. It was developed in the 1990s by the Israeli arms manufacturer Rafael as the successor to the Python-3." https://de.wikipedia.org/wiki/Python-4