wprobe: move measurement task to the kernel, add some configurability (work in progress)