public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mauro Andreolini <mauro.andreolini@unimore.it>
To: linux-kernel@vger.kernel.org, mauro.andreolini@unimore.it
Subject: LatencyTop problem
Date: Sat, 18 Oct 2008 18:49:18 +0200	[thread overview]
Message-ID: <1224348558.7067.7.camel@localhost> (raw)

Hi everyone,

I tried to get latencytop (Debian testing package, v.0.4) running on a
2.6.27 vanilla kernel. When I try to execute latencytop as root, I get
the following message:

Error writing to /proc/sys/kernel/latencytop: No such file or directory
Error writing to /proc/sys/kernel/latencytop: No such file or directory
Are you root?
Please enable the CONFIG_LATENCYTOP configuration in your kernel.
Exiting...

I am pretty sure that the CONFIG_LATENCYTOP is set in the kernel.
I tried to download and apply the latencytop patch, but it rejects some
hunks. It seems as if the executable wants to
open /proc/sys/kernel/latencytop for writing but it can't, because the
piece of kernel code that enables it (kernel/latencytop.c) does not
create that /proc file. The code to enable /proc/sys/kernel/latencytop
is contained in the kernel patch from the project home page, anyway.
Instead, reading the code in the 2.6.27 kernel, a "latency_stats" file
should be created, but that is not present under both the /proc and /sys
filesystems.
Could anyone of you point me to a procedure to get latencytop working
with a recent kernel?
Thank you in advance.

Mauro Andreolini


             reply	other threads:[~2008-10-18 17:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-18 16:49 Mauro Andreolini [this message]
2008-10-18 17:37 ` LatencyTop problem Arjan van de Ven
2008-10-19  0:51   ` Mauro Andreolini

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=1224348558.7067.7.camel@localhost \
    --to=mauro.andreolini@unimore.it \
    --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