Peter Waller

Results 36 issues of Peter Waller

Hi, I'm without proper internet at the moment and trying to tether my iphone to my NixOS machine. Unfortunately it doesn't work. Since there hasn't been a release in a...

This is somewhat academic since you clearly get very good resolution with a low number of samples, but maybe there are non-academic issues lurking you might be interested in. I...

At the moment while getting started on a project I'm finding I'm frequently missing a package I wish I had installed. I have built up lots of state in jupyter...

This is a proposed API for making benchmark runners. For example: ```go var ( Result, v, x int ) func BenchmarkMultiply(b *testing.B) { defer perf.Benchmark(b).Stop() for i := 0; i...

Unfortunately acln.ro appears to be unavailable or misconfigured. Can we make the module available again? Currently it's not possible to call up the docs on https://pkg.go.dev/github.com/acln0/perf for example, it gives...

Previously, if poll returned HUP, we would immediately return ErrDisabled, but this means we could miss events if there are events waiting in the buffer. Fixes: #23

The ptrace API requires that you call it from the same thread, so starting the process must lock the thread until we're done with the ptrace API. Doc ref: https://pkg.go.dev/syscall#SysProcAttr...

In #25, I accidentally introduced an additional comment on `evwait(sawcommevfd)` in the testComm test. This was unintentional, and doesn't otherwise relate to the fixes introduced in that PR. This issue...

I've been messing around with perf, using `inherit` to trace a process tree. What I've found is that when the process tree exits, we get HUP on the poll, and...

This is only a minor suggestion, but I found this confusing: https://github.com/acln0/perf/blob/239c48f711bc4741a1a6e4ab75edf78ca429a7cd/record_test.go#L219-L225 1. Variables/consts beginning with the name `err` are usually errors. 2. It refers to testErrDisabledProcessExist which doesn't exist....