From: Philippe Elie <phil.el@wanadoo.fr>
To: Anton Blanchard <anton@samba.org>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org,
oprofile-list@lists.sourceforge.net
Subject: Re: [PATCH] Oprofilefs cant handle > 99 cpus
Date: Sun, 18 Apr 2004 16:37:34 +0000 [thread overview]
Message-ID: <20040418163734.GA384@zaniah> (raw)
In-Reply-To: <20040418110658.GC26086@krispykreme>
On Sun, 18 Apr 2004 at 21:06 +0000, Anton Blanchard wrote:
>
> Hi,
>
> Oprofilefs cant handle > 99 cpus. This should fix it.
right.
> ===== oprofile_stats.c 1.6 vs edited =====
> --- 1.6/drivers/oprofile/oprofile_stats.c Mon Jan 19 17:33:51 2004
> +++ edited/oprofile_stats.c Sun Apr 18 19:46:35 2004
> @@ -55,7 +55,7 @@
> continue;
>
> cpu_buf = &cpu_buffer[i];
> - snprintf(buf, 6, "cpu%d", i);
> + snprintf(buf, 10, "cpu%d", i);
> cpudir = oprofilefs_mkdir(sb, dir, buf);
>
> /* Strictly speaking access to these ulongs is racy,
Andrew, can you apply this patch ?
regards,
Phil
next prev parent reply other threads:[~2004-04-18 14:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-18 11:06 [PATCH] Oprofilefs cant handle > 99 cpus Anton Blanchard
2004-04-18 16:37 ` Philippe Elie [this message]
2004-04-19 10:06 ` Jan-Benedict Glaw
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=20040418163734.GA384@zaniah \
--to=phil.el@wanadoo.fr \
--cc=akpm@osdl.org \
--cc=anton@samba.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oprofile-list@lists.sourceforge.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.