Andrew Turner
974692e3bf
Limit calling pmc_hook to when the interrupt comes while running userspace.
...
We may enable interrupts from within the callback, e.g. in a data abort
during copyin. If we receive an interrupt at that time pmc_hook will be
called again and, as it is handling userspace stack tracing, will hit a
KASSERT as it checks if the trapframe is from userland.
With this I can run hwpmc with intrng on a ThunderX and have it trace all
CPUs.
Obtained from: ABT Systems Ltd
Sponsored by: The FreeBSD Foundation
2016-05-24 12:06:56 +00:00
..
2016-05-23 23:00:47 +00:00
2016-05-23 20:13:17 +00:00
2016-05-20 15:43:51 +00:00
2016-05-20 19:38:01 +00:00
2016-05-24 08:44:45 +00:00
2016-05-18 13:21:29 +00:00
2016-05-24 09:23:04 +00:00
2016-05-24 01:33:49 +00:00
2016-05-20 03:22:41 +00:00
2016-04-20 03:05:32 +00:00
2016-05-16 19:42:38 +00:00
2016-05-24 08:54:41 +00:00
2016-05-22 18:16:25 +00:00
2016-05-20 08:28:11 +00:00
2016-05-23 04:17:27 +00:00
2016-05-22 12:46:34 +00:00
2016-05-03 21:51:52 +00:00
2016-05-24 12:06:56 +00:00
2016-05-03 22:05:03 +00:00
2016-04-30 14:41:18 +00:00
2016-05-20 15:34:03 +00:00
2016-05-24 01:12:19 +00:00
2016-05-24 11:47:14 +00:00
2016-05-21 23:21:42 +00:00
2016-04-29 21:25:05 +00:00
2016-05-19 22:20:35 +00:00
2016-05-23 20:18:11 +00:00
2016-05-10 20:14:11 +00:00
2016-04-19 23:48:27 +00:00
2016-05-23 13:59:48 +00:00
2016-05-03 18:05:43 +00:00
2016-04-29 16:07:25 +00:00
2016-04-21 15:38:28 +00:00
2016-05-17 12:52:31 +00:00
2016-05-06 23:37:19 +00:00
2016-04-29 23:53:55 +00:00
2016-05-22 13:58:32 +00:00
2016-05-13 20:14:41 +00:00
2016-05-06 01:49:46 +00:00
2016-05-06 16:59:04 +00:00
2016-05-22 12:46:34 +00:00
2016-05-24 00:14:58 +00:00
2016-05-22 14:31:20 +00:00
2016-05-24 10:21:39 +00:00
2016-05-20 18:00:10 +00:00
2016-04-14 17:06:37 +00:00
2016-05-17 12:52:31 +00:00