Re: [RFC PATCH 10/11] mcount tracer show task comm and pid

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

 



* Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx> wrote:

> > @@ -34,6 +34,7 @@ mctracer_add_trace_entry(struct mctracer
> >  {
> >  	unsigned long idx, idx_next;
> >  	struct mctracer_entry *entry;
> > +	struct task_struct *tsk = current;
> 
> Aren't there situations, like in the middle of a context switch, where 
> current is not valid ? Is also poses a problem for early boot, and NMI 
> tracing.

no such problems on x86.

	Ingo
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux