[ltt-dev] can we get a analysis of error return about syscall

Mathieu Desnoyers compudj at krystal.dyndns.org
Mon Jan 31 11:04:18 EST 2011


* loody (miloody at gmail.com) wrote:
> hi all:
> if i have a user mode program which try to open a non-exist file, the
> return value as  ENOENT, can I see the same value in LTT?

Yes, but we get the value in decimal, not its mapping to the errno*.h
files (these are defines).

> Is any button or filter commands on lttv to help me to list all the
> return value of system call a user mode program called?

No. See /usr/include/asm-generic/errno.h and errno-base.h.

Mathieu

> 
> -- 
> Regards,
> miloody
> 
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
> 

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com




More information about the lttng-dev mailing list