search for: _mode_

Displaying 3 results from an estimated 3 matches for "_mode_".

Did you mean: _mode
2006 Jul 05
4
xenoprof passive profiling and "mode" setting
Xiaowei, I''m puzzled by the following bit of code in p4_check_ctrs():        if (guest_kernel_mode(current, regs))                 mode = 1;         else if (ring_0(regs))                 mode = 2; If I look at the definition for guest_kernel_mode() it is: include/asm-x86/x86_64/regs.h: #define guest_kernel_mode(v, r)   \     (ring_3(r) && ((v)->arch.flags &
2006 Jul 06
0
Fwd: RE: xenoprof passive profiling and "mode" setting
...t;arch.flags & TF_kernel_mode)) for x86/64. > >So maybe: > int mode = 2; > if (guest_mode(regs)) > mode = user_mode(current, regs) ? 0 : 1; Yes, this is a better solution for sure, to take both para-domain and hvm into account. But it''s not a problem for now:) _mode_ logic only applies to active domiain. Oprofile doesn''t use it for samples between PASSIVE_START_CODE and PASSIVE_STOP_CODE. Rather it relies on PC range to distinguish xen/kernel/app samples. Thanks, Xiaowei ------------------------------------------------------- -- Ray Bryant AMD Perf...
2012 Apr 26
2
Lambert (1992) simulation
Hi, I am trying to replicate Lambert (1992)'s simulation with zero-inflated Poisson models. The citation is here: @article{lambert1992zero, Author = {Lambert, D.}, Journal = {Technometrics}, Pages = {1--14}, Publisher = {JSTOR}, Title = {Zero-inflated {P}oisson regression, with an application to defects in manufacturing}, Year = {1992}} Specifically I am trying to recreate Table 2. But my