Q: How do I trace system calls?

Hi there,

I am searching for a tool, which enables my to trace system calls?
Something like truss (SOLARIS) or strace (Linux).

Is there such a thing out there?


TIA,

lojo


Sent via Deja.com
http://www.deja.com/

dejalojo@my-deja.com wrote:

Hi there,

I am searching for a tool, which enables my to trace system calls?
Something like truss (SOLARIS) or strace (Linux).

Is there such a thing out there?

Assuming you’re talking about QNX4 – look at tracectrl. Also, traceinfo
to see the results of the Trace() calls.


-David

QNX Training Services
dagibbs@qnx.com

In article <92t7n1$ola$3@nntp.qnx.com>,
David Gibbs <dagibbs@qnx.com> wrote:

dejalojo@my-deja.com > wrote:
Hi there,

I am searching for a tool, which enables my to trace system calls?
Something like truss (SOLARIS) or strace (Linux).

Is there such a thing out there?

Assuming you’re talking about QNX4 – look at tracectrl. Also,
traceinfo
to see the results of the Trace() calls.

Thanks David,

but unfortunately (in respect of this thread) I have QNX/Neutrino/PPC
as target platform. Are there ports for traceXXX()/Trace() available?
Or something similar?

Thanks in advance,

Artur


Sent via Deja.com
http://www.deja.com/

dejalojo@my-deja.com wrote:

In article <92t7n1$ola$> 3@nntp.qnx.com> >,
David Gibbs <> dagibbs@qnx.com> > wrote:
dejalojo@my-deja.com > wrote:
Hi there,

I am searching for a tool, which enables my to trace system calls?
Something like truss (SOLARIS) or strace (Linux).

Is there such a thing out there?

Assuming you’re talking about QNX4 – look at tracectrl. Also,
traceinfo
to see the results of the Trace() calls.


Thanks David,

but unfortunately (in respect of this thread) I have QNX/Neutrino/PPC
as target platform. Are there ports for traceXXX()/Trace() available?
Or something similar?

Take a look in the documentation for slogger and sloginfo, and the
slog*() calls.

-David

QNX Training Services
dagibbs@qnx.com

I don’t have docs here, but are those high-speed tracing calls ? Can you
put slog() calls in interrupt handlers, etc. (as you can with Trace calls) ?

Rennie “if it’s context sensitive, you can’t call it a tracing facility”
Allen

“David Gibbs” <dagibbs@qnx.com> wrote in message
news:92vkpj$8jt$1@nntp.qnx.com

dejalojo@my-deja.com > wrote:
In article <92t7n1$ola$> 3@nntp.qnx.com> >,
David Gibbs <> dagibbs@qnx.com> > wrote:
dejalojo@my-deja.com > wrote:
Hi there,

I am searching for a tool, which enables my to trace system calls?
Something like truss (SOLARIS) or strace (Linux).

Is there such a thing out there?

Assuming you’re talking about QNX4 – look at tracectrl. Also,
traceinfo
to see the results of the Trace() calls.


Thanks David,

but unfortunately (in respect of this thread) I have QNX/Neutrino/PPC
as target platform. Are there ports for traceXXX()/Trace() available?
Or something similar?

Take a look in the documentation for slogger and sloginfo, and the
slog*() calls.

-David

QNX Training Services
dagibbs@qnx.com

John Doe <john@csical.com> wrote:

I don’t have docs here, but are those high-speed tracing calls ? Can you
put slog() calls in interrupt handlers, etc. (as you can with Trace calls) ?

According to the docs, they appear to be message based.

(And, they appear to be fairly new… they may be in RTP, but not in
the current released stuff for PPC.)

-David

Rennie “if it’s context sensitive, you can’t call it a tracing facility”
Allen

“David Gibbs” <> dagibbs@qnx.com> > wrote in message
news:92vkpj$8jt$> 1@nntp.qnx.com> …
dejalojo@my-deja.com > wrote:
In article <92t7n1$ola$> 3@nntp.qnx.com> >,
David Gibbs <> dagibbs@qnx.com> > wrote:
dejalojo@my-deja.com > wrote:
Hi there,

I am searching for a tool, which enables my to trace system calls?
Something like truss (SOLARIS) or strace (Linux).

Is there such a thing out there?

Assuming you’re talking about QNX4 – look at tracectrl. Also,
traceinfo
to see the results of the Trace() calls.


Thanks David,

but unfortunately (in respect of this thread) I have QNX/Neutrino/PPC
as target platform. Are there ports for traceXXX()/Trace() available?
Or something similar?

Take a look in the documentation for slogger and sloginfo, and the
slog*() calls.

-David

QNX Training Services
dagibbs@qnx.com


QNX Training Services
dagibbs@qnx.com