Thread (24 messages) 24 messages, 3 authors, 2007-01-08

Re: cyclictest hangs with posix interval timers !?

From: Steven Scholz <hidden>
Date: 2007-01-07 14:55:25

Thomas Gleixner wrote:
Steven,

On Sun, 2007-01-07 at 15:38 +0100, Steven Scholz wrote:
quoted
 strace ./cyclictest -t 1 -p 80 -i 10000 -l 10 -v 2> cyclictest.txt
You need to run "strace -f ...." otherwise you don't get the thread
strace.
Ok. My fault. Sorry. Of course now the trace contains

[pid 20910] timer_create(CLOCK_MONOTONIC, {(nil), 14, SIGEV_THREAD_ID,
{20910}}, {(nil)}) = 0
[pid 20910] timer_settime(0, TIMER_ABSTIME, {it_interval={0, 10000000},
it_value={3908778, 132879754}}, NULL) = 0
[pid 20910] timer_delete(0)             = 0
quoted
quoted
The timer_* functions are in librt.
Then why does the static linking not work?
Are the static libs available ?
Ah. Maybe not. Which would that be? libpthread.a, librt.a, libc.a?

Steven
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help