shithub: riscv

Download patch

ref: ea3dec6c60c1aac7ff37b0aa4a5130c49ecd480d
parent: f332cf05579e82b213944a331c7b4f37f88f2587
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Aug 13 18:27:52 EDT 2022

dtracy: make timer probes run in interrupt context

When probing a timer, we were running in our own kproc,
and not in an interrupt context, which meant that we didn't
have any access to anything worth sampling, so we didn't
give any data back.

This moves the probe to the hzclock interrupt, and returns
the pc in the probe.