Displaying 8 results from an estimated 8 matches for "clock_".
Did you mean:
clock
2017 Sep 12
2
how to troubleshoot ssh multiplexing hanging issues?
...amp; $3=="ssh:" && $5=="[mux]"
{print}'
29305 worker ssh: /var/lib/worker/.ssh/cm-boss at ui1:22 [mux]
I tried to attach strace to the ssh mux process, and this is what i see
when the problem is happening:
select(1024, [3 5 9], [], NULL, {0, 11336}) = 0 (Timeout)
clock_gettime(0x7 /* CLOCK_??? */, {17873813, 778030739}) = 0
clock_gettime(0x7 /* CLOCK_??? */, {17873813, 778085461}) = 0
clock_gettime(0x7 /* CLOCK_??? */, {17873813, 778109973}) = 0
select(1024, [3 4 5 9], [], NULL, NULL) = 1 (in [4])
clock_gettime(0x7 /* CLOCK_??? */, {17873813, 778186890}) = 0
accep...
2023 Jan 26
0
[klibc:time64] time: Use clock_* system calls for time-of-day and sleep
...rg/?p=libs/klibc/klibc.git;a=commit;h=8b44cc180f664532821211e8261534b0c9e6c01c
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sat, 14 Jan 2023 02:15:10 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sun, 15 Jan 2023 21:28:18 +0100
[klibc] time: Use clock_* system calls for time-of-day and sleep
{get,set}timeofday(), nanosleep(), and time() on't have direct
replacements that use 64-bit time on 32-bit architectures. Instead,
we have to use the clock_*() system calls.
In preparation for using 64-bit time everywhere:
- Make clock_{gettime,nanosl...
2015 Nov 30
1
Re: "Failed to start domain..."
...gt; happens? It's hard to find the exact point, but going function and
> checking what returns -1 should do.
Assuming by "backtrace" you mean the strace output, I went to the end of
the file, and then did a reverse search for -1; here were the first
hits, with some context:
25533 clock_gettime(0x7 /* CLOCK_??? */, {17970, 938005692}) = 0
25533 clock_gettime(0x7 /* CLOCK_??? */, {17970, 938038620}) = 0
25533 select(7, [3 4], [], NULL, NULL) = 1 (in [3])
25533 clock_gettime(0x7 /* CLOCK_??? */, {17970, 938107743}) = 0
25533 read(3,
"[\1\220\376xM\365a\206\350^8\236\315T\265...
2015 Nov 25
2
"Failed to start domain..."
Sadly, I'm back with another issue. I can do a "system list --all" just
fine; however, if I attempt to start the machines, I get back:
maas@Bill-MAAS-cc:~$ strace -s 1024 -f -o /tmp/asdfasdf.log virsh -c
vbox+ssh://gbadmin@10.20.0.1/system start PXE-client-07
error: Failed to start domain PXE-client-07
error: An error occurred, but the cause is unknown
Log files on both client
2012 Sep 27
3
NUT Bugs #313634 & #313714: unification & encapsulation of timer proposition
...d to by Baruch; I believe that's very good idea, however I'd use a bit
more encapsulated & general approach:
1/ I'd create an opaque timer type and its get/set/cmp/inc/dec etc interface
under common
2/ implementation of the interface would use the monotonic clock if available
(the clock_*time on Linux, potentially other monotonic clock impl. on other
systems) and time_t as a fallback
3/ when implemented, use of the timer shall be spread throughout the code,
replacing direct use of time_t
What do you think?
I'm also a bit reluptant to do such a change in scope of the bugfix; I...
2009 Oct 23
3
rdtsc in userspace
...t I thought
that this meant that gcc was using rdtsc, but gcc
sources do not show any use of rdtsc. Next I suspected
bash, but it doesn''t either. Finally, it appears that
the calls are occurring from glibc, and searching for
uses of rdtsc, I found that glibc has its
own implementation of clock_gettime that uses rdtsc
directly!
The manpage for clock_gettime ("man 3 clock_gettime")
has a lengthy caveat about using clock_gettime on
an SMP system BUT provides a mechanism to test to
see if your SMP system is safe, clock_getcpuclockid(0).
See for example (near the end):
http://linux...
2015 Sep 07
4
LibC++ tests in tree
Folks,
I'm running the libc++ tests in tree [1] and I'm seeing two class of errors:
1. -lrt is used, but there is no such "librt.a" in the path. Results
are that some symbols are not found, or that the DSO object wasn't.
Adding a symlink in build/lib/librt.a to
build/clang/3.8.0/lib/linux/libclang_rt.builtins-aarch64.a worked.
2. "collate_byname failed to construct
2018 Jul 02
0
Samba 4.3.11 accessing disk every minute
...2() = 0
getegid32() = 0
setgroups32(0, []) = 0
setresgid32(-1, 0, -1) = 0
getegid32() = 0
setresuid32(0, 0, -1) = 0
geteuid32() = 0
clock_gettime(0x7 /* CLOCK_??? */, {36445, 372815200}) = 0
stat64("", 0xbeb276e0) = -1 ENOENT (No such file or directory)
umask(022) = 0
open("/var/log/samba/log.smbd", O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0644) = 8
fcntl64(8, F_GETFD)...