summaryrefslogtreecommitdiff
path: root/sys/src/9/port/dtracytimer.c
AgeCommit message (Collapse)Author
2022-08-13dtracy: make timer probes run in interrupt contextOri Bernstein
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.
2019-03-30dtracy: avoid dmachlock() racecinap_lenrek
between being commited to a machno and having acquired the lock, the scheduler could come in an schedule us on a different processor. the solution is to have dtmachlock() take a special -1 argument to mean "current mach" and return the actual mach number after the lock has been acquired and interrupts being disabled.
2018-12-13dtracy: get rid of DTName struct, support more than three parts in a probe ↵aiju
name, wildcard matching
2018-12-11add dtracy support to mkdevc and enable dtracy with plan9.iniaiju