From: "Ioannis Kyriakopoulos" <johnkyr83@hotmail.com>
To: "'Christoph Lameter'" <cl@linux-foundation.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: Finding and chaniging registered clocksources
Date: Fri, 11 Dec 2009 14:27:42 +0000 [thread overview]
Message-ID: <SNT111-DS18FDA82A2FB992AC38B693A78C0@phx.gbl> (raw)
In-Reply-To: <alpine.DEB.2.00.0912110802250.32415@router.home>
Thanks very much for the reply.
>> However, I don't know how to found out what clocksource Linux has
assigned
>> for other activities apart from the one mentioned (e.g. for timekeeping)
and
>> how to change it, if possible.
>
>Depends on the subsystem.
Could you be a little more specific please cause I don't understand?
>getnstimeofday uses the syste, cllock that can be retrieved using
>/sys/devices/system/clocksource/clocksource0/current_clocksource
The problem in my case is that when I execute the above, I get:
cat: can't open
'/sys/devices/system/clocksource/clocksource0/current_clocksource': No such
file or directory
In general, my /sys directory is empty. This file should exist to my
filesystem prior to kernel execution or should it be created by the kernel
when it starts executing; but for some reason it is not being created in my
case?
Thanks.
next prev parent reply other threads:[~2009-12-11 14:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-11 13:38 Ioannis Kyriakopoulos
2009-12-11 14:06 ` Christoph Lameter
2009-12-11 14:27 ` Ioannis Kyriakopoulos [this message]
2009-12-11 14:42 ` Christoph Lameter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SNT111-DS18FDA82A2FB992AC38B693A78C0@phx.gbl \
--to=johnkyr83@hotmail.com \
--cc=cl@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®