Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Porting DTrace to ARM

On Thu, Mar 6, 2014 at 2:21 PM, Masao Uebayashi <> 
> Ah.  I misread that schedstate_percpu uses percpu(9)'s fast path,
> which doesn't exist...
> Anyway if it's assumed that cpu is not attached at run-time, assigning
> struct cpu_data::void *cpu_dtraceinfo at module attachment would be
> just fine.

void * is probably good, otherwise we have to pull out structure definitions
(ok, there are two: solaris_cpu_t and cpu_core_t) from external/cddl.
opensolaris_init in external/cddl/osnet/sys/kern/opensolaris.c
is a good place to assign, I think.


Home | Main Index | Thread Index | Old Index