Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Include all heaps in statistics

2009-11-16 Thread Jan Kiszka
Gilles Chanteperdrix wrote: > Jan Kiszka wrote: >> Gilles Chanteperdrix wrote: >>> GIT version control wrote: +void xnheap_set_label(xnheap_t *heap, const char *label, ...) +{ + va_list args; + spl_t s; + + va_start(args, label); + + xnlock_get_irqsave(&n

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Include all heaps in statistics

2009-11-16 Thread Gilles Chanteperdrix
Jan Kiszka wrote: > Gilles Chanteperdrix wrote: >> GIT version control wrote: >>> +void xnheap_set_label(xnheap_t *heap, const char *label, ...) >>> +{ >>> + va_list args; >>> + spl_t s; >>> + >>> + va_start(args, label); >>> + >>> + xnlock_get_irqsave(&nklock, s); >>> + vsnprintf(heap->l

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Include all heaps in statistics

2009-11-16 Thread Jan Kiszka
Gilles Chanteperdrix wrote: > GIT version control wrote: >> +void xnheap_set_label(xnheap_t *heap, const char *label, ...) >> +{ >> +va_list args; >> +spl_t s; >> + >> +va_start(args, label); >> + >> +xnlock_get_irqsave(&nklock, s); >> +vsnprintf(heap->label, sizeof(heap->label)

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Include all heaps in statistics

2009-11-16 Thread Gilles Chanteperdrix
GIT version control wrote: > +void xnheap_set_label(xnheap_t *heap, const char *label, ...) > +{ > + va_list args; > + spl_t s; > + > + va_start(args, label); > + > + xnlock_get_irqsave(&nklock, s); > + vsnprintf(heap->label, sizeof(heap->label), label, args); > + xnlock_put