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

2008-01-09 Thread Ingo Molnar
* Mathieu Desnoyers <[EMAIL PROTECTED]> wrote: > static inline int vmalloc_fault(unsigned long address) > { > unsigned long pgd_paddr; > pmd_t *pmd_k; > pte_t *pte_k; > /* > * Synchronize this task's top level page-table > * with the 'reference' p

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

2008-01-06 Thread Mathieu Desnoyers
* Ingo Molnar ([EMAIL PROTECTED]) wrote: > > * Mathieu Desnoyers <[EMAIL PROTECTED]> 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; > > > > Ar

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

2008-01-06 Thread Ingo Molnar
* Mathieu Desnoyers <[EMAIL PROTECTED]> 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

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

2008-01-03 Thread Mathieu Desnoyers
* Steven Rostedt ([EMAIL PROTECTED]) wrote: > This adds the task comm and pid to the trace output. This gives the > output like: > > CPU 0: sshd:2605 [] remove_wait_queue+0xc/0x4a <-- > [] free_poll_entry+0x1e/0x2a > CPU 2: bash:2610 [] tty_check_change+0x9/0xb6 <-- > [] tty_ioctl+0x59f/0xcdd >