You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
1
(6) |
2
(3) |
3
|
4
(3) |
5
(10) |
6
(4) |
7
(5) |
|
8
(1) |
9
(3) |
10
(11) |
11
(18) |
12
(13) |
13
(4) |
14
(11) |
|
15
(12) |
16
(6) |
17
(1) |
18
(13) |
19
(14) |
20
(12) |
21
(3) |
|
22
(17) |
23
(18) |
24
(17) |
25
(24) |
26
(15) |
27
(7) |
28
(23) |
|
29
(31) |
|
|
|
|
|
|
|
From: Nicholas N. <nj...@ca...> - 2004-02-11 14:31:25
|
CVS commit by nethercote: name index.html as home specifically, so that mirrors get the links right M +1 -1 menu.inc 1.12 --- devel-home/valgrind/menu.inc #1.11:1.12 @@ -3,5 +3,5 @@ <dl> <dt><b>About</b> -<dt><a href="/"> Home</a> +<dt><a href="index.html"> Home</a> <dt><a href="overview.html"> Overview</a> <dt><a href="tools.html"> Tools</a> |
|
From: Nicholas N. <nj...@ca...> - 2004-02-11 14:21:54
|
CVS commit by nethercote: minor fix M +1 -1 related.html 1.11 --- devel-home/valgrind/related.html #1.10:1.11 @@ -66,5 +66,5 @@ <ul> <li>FreeBSD: Doug Rabson has done a fairly complete port. See details in this - <a href="http://sourceforge.net/mailarchive/forum.php?thread_id=3660580&forum_id=12302"> + <a href="http://sourceforge.net/mailarchive/forum.php?thread_id=3660580&forum_id=12302"> mailing list thread</a>. We hope to integrate this port into Valgrind. <p> |
|
From: Nicholas N. <nj...@ca...> - 2004-02-11 14:17:10
|
CVS commit by nethercote: Remove bogus tag M +1 -1 users.html 1.38 --- devel-home/valgrind/users.html #1.37:1.38 @@ -252,5 +252,5 @@ <dt><a href="http://amarok.sourceforge.net/">amaroK</a> -<dd>A KDE media player.</a> +<dd>A KDE media player. <dt><a href="http://www.speex.org">Speex</a> |
|
From: Nicholas N. <nj...@ca...> - 2004-02-11 14:15:43
|
CVS commit by nethercote: Fix some not-so-nice HTML: - convert <i> to <em> - convert <b> to <strong> - start using style sheet properly, to remove deprecated tags like <center> M +1 -1 bugs.html 1.9 M +1 -1 cvs.html 1.5 M +3 -3 downloads.html 1.9 M +3 -3 header.inc 1.10 M +7 -14 index.html 1.16 M +20 -20 overview.html 1.11 M +1 -1 related.html 1.10 M +15 -1 style.css 1.2 M +4 -4 tools.html 1.5 --- devel-home/valgrind/bugs.html #1.8:1.9 @@ -21,5 +21,5 @@ are ignoring you; it may well be that the bug has been reported before. <p> -When you report a bug, <i>please</i> give the following information: +When you report a bug, <em>please</em> give the following information: <ul> <li>What version of Valgrind you are running; --- devel-home/valgrind/cvs.html #1.4:1.5 @@ -7,5 +7,5 @@ If you want a bleeding-edge version of Valgrind, follow these <a href="http://developer.kde.org/source/anoncvs.html">instructions</a> -to check out the HEAD from our CVS repository; the <i>modulename</i> is +to check out the HEAD from our CVS repository; the <em>modulename</em> is <code>valgrind</code>. Note particularly the information about mirrors. <p> --- devel-home/valgrind/downloads.html #1.8:1.9 @@ -7,5 +7,5 @@ <h3>Current Stable Release</h3> -<b>2.0.0 (of 11 November 2003)</b> +<strong>2.0.0 (of 11 November 2003)</strong> <a HREF="http://developer.kde.org/~sewardj/valgrind-2.0.0.tar.bz2">(bzip2'd source, 710KB)</a> (MD5=1f6a90d0ca494fb75eaeef498e8252b5) @@ -30,5 +30,5 @@ <h3>Development Releases</h3> -<b>2.1.0 (of 14 December 2003)</b> +<strong>2.1.0 (of 14 December 2003)</strong> <a HREF="http://developer.kde.org/~sewardj/valgrind-2.1.0.tar.bz2">(bzip2'd source, 762KB)</a> (MD5=3e4056dd45163a5f555a23ced2f95191) @@ -50,5 +50,5 @@ <p> -<b>20031012-wine (of mid Oct 2003)</b> +<strong>20031012-wine (of mid Oct 2003)</strong> <a HREF="http://developer.kde.org/~sewardj/valgrind-20031012-wine.tar.bz2">(bzip2'd source, 697KB)</a> --- devel-home/valgrind/header.inc #1.9:1.10 @@ -9,5 +9,5 @@ <table width="100%" cellspacing=10> <tr> -<td bgcolor="#eeeeee" valign="top"> +<td class="menu" valign="top"> <?php include "menu.inc" @@ -16,6 +16,6 @@ <td> -<center><h1>Valgrind</h1></center> +<h1>Valgrind</h1> <hr> -<center><h2><?php print $page_heading; ?></h2></center> +<h2><?php print $page_heading; ?></h2> --- devel-home/valgrind/index.html #1.15:1.16 @@ -5,28 +5,22 @@ ?> -<center>January 27, 2004: We have a new page listing +<p class="news">January 27, 2004: We have a new page listing <a href="users.html">projects using Valgrind</a>. Please see the bottom of that page if you want to add your project to the list. -</center> -<p> -<center>January 15, 2004: Valgrind awarded a merit (bronze) +<p class="news">January 15, 2004: Valgrind awarded a merit (bronze) <a href="http://opensource.org/OSA/awards.php">Open Source Award</a>. Read the <a href="http://builder.com.com/5100-6375-5136747.html">interview</a> with Julian Seward. -</center> -<p> -<center>December 14, 2003: A new unstable release, -<a href="/downloads.html">valgrind 2.1.0</a>, is available.</center> -<p> +<p class="news">December 14, 2003: A new unstable release, +<a href="/downloads.html">valgrind 2.1.0</a>, is available. -<center>November 11, 2003: A new stable release, -<a href="/downloads.html">valgrind 2.0.0</a>, is available.</center> -<p> +<p class="news">November 11, 2003: A new stable release, +<a href="/downloads.html">valgrind 2.0.0</a>, is available. <hr> <p> -<b>Valgrind is a GPL'd system for debugging and profiling x86-Linux programs.</b> +<strong>Valgrind is a GPL'd system for debugging and profiling x86-Linux programs.</strong> With the tools that come with Valgrind, you can automatically detect many memory management and threading bugs, avoiding hours of frustrating @@ -39,5 +33,4 @@ <p> Use the menu at left to learn more. -<p> <?php --- devel-home/valgrind/overview.html #1.10:1.11 @@ -5,5 +5,5 @@ ?> -<b>Valgrind is a GPL'd system for debugging and profiling x86-Linux programs.</b> +<strong>Valgrind is a GPL'd system for debugging and profiling x86-Linux programs.</strong> With the tools that come with Valgrind, you can automatically detect many memory management and threading bugs, avoiding hours of frustrating @@ -15,5 +15,5 @@ <ul> -<li><b>Valgrind will save you hours of debugging time.</b> +<li><strong>Valgrind will save you hours of debugging time.</strong> With Valgrind tools you can automatically detect many memory management and threading bugs. This gives you confidence that your @@ -23,15 +23,15 @@ <p> -<li><b>Valgrind can help you speed up your programs.</b> +<li><strong>Valgrind can help you speed up your programs.</strong> With Valgrind tools you can also perform very detailed profiling to help speed up your programs. <p> -<li><b>Valgrind is free.</b> Free-as-in-speech: you can download it, read +<li><strong>Valgrind is free.</strong> Free-as-in-speech: you can download it, read the source code, make modifications, and pass them on, all within the limits of the GNU GPL. And free-as-in-beer: we aren't charging for it. <p> -<li><b>Valgrind runs on x86-Linux.</b> One of the most popular platforms in +<li><strong>Valgrind runs on x86-Linux.</strong> One of the most popular platforms in use. Valgrind works on all x86-compatible machines, and works with all the major Linux distributions, including Red Hat, SuSE, Debian, Gentoo, @@ -39,5 +39,5 @@ <p> -<li><b>Valgrind is easy to use.</b> Valgrind uses dynamic binary +<li><strong>Valgrind is easy to use.</strong> Valgrind uses dynamic binary translation, so you don't need to modify, recompile or relink your applications. Just prefix your command line with @@ -45,5 +45,5 @@ <p> -<li><b>Valgrind is not a toy.</b> Valgrind is first and foremost a +<li><strong>Valgrind is not a toy.</strong> Valgrind is first and foremost a debugging and profiling system for large, complex programs. We have had feedback from users working on projects with up to 25 million @@ -56,5 +56,5 @@ <p> -<li><b>Valgrind is suitable for any type of software.</b> Valgrind has been +<li><strong>Valgrind is suitable for any type of software.</strong> Valgrind has been used on almost every kind of software imaginable: desktop applications, libraries, databases, games, web browsers, network @@ -68,5 +68,5 @@ <p> -<li><b>Valgrind is widely used.</b> Valgrind has been used by thousands +<li><strong>Valgrind is widely used.</strong> Valgrind has been used by thousands of programmers across the world. We have received feedback from users in over 25 countries, including: Belgium, Czech Republic, @@ -77,5 +77,5 @@ <p> -<li><b>Valgrind works with programs written in any language.</b> +<li><strong>Valgrind works with programs written in any language.</strong> Because Valgrind works directly with program binaries, it works with programs written in any programming language, be they compiled, @@ -89,5 +89,5 @@ <p> -<li><b>Valgrind debugs and profiles your <i>entire</i> program.</b> +<li><strong>Valgrind debugs and profiles your <em>entire</em> program.</strong> Unlike tools that require a recompilation step, Valgrind gives you total debugging and profiling coverage of every instruction executed by @@ -96,5 +96,5 @@ <p> -<li><b>Valgrind can be used with other tools.</b> Valgrind can start GDB and +<li><strong>Valgrind can be used with other tools.</strong> Valgrind can start GDB and attach it to your program at the point(s) where errors are detected, so that you can poke around and figure out what was going on at the @@ -102,5 +102,5 @@ <p> -<li><b>Valgrind is extensible.</b> Valgrind consists of the Valgrind core, +<li><strong>Valgrind is extensible.</strong> Valgrind consists of the Valgrind core, which provides a synthetic software x86 CPU, and Valgrind tools, which plug into the core, and instrument and analyse the running @@ -111,5 +111,5 @@ <p> -<li><b>Valgrind is actively maintained.</b> The Valgrind developers are +<li><strong>Valgrind is actively maintained.</strong> The Valgrind developers are constantly working to fix bugs, improve Valgrind, and ensure it works as new Linux distributions and libraries come out. There are @@ -133,23 +133,23 @@ <ul> -<li><b>All the time.</b> For small programs with short run-times, when +<li><strong>All the time.</strong> For small programs with short run-times, when developing you can always run the program under a Valgrind tool (usually either Memcheck or Addrcheck), knowing that memory bugs will be found immediately. <p> -<li><b>In automatic testing.</b> By using Valgrind tools in your +<li><strong>In automatic testing.</strong> By using Valgrind tools in your automatic unit, integration, system, or regression test, you can be confident no code will be unchecked. <p> -<li><b>After big changes.</b> To ensure new bugs haven't been introduced +<li><strong>After big changes.</strong> To ensure new bugs haven't been introduced in the new code. <p> -<li><b>When a bug occurs.</b> Get instant feedback about what the bug +<li><strong>When a bug occurs.</strong> Get instant feedback about what the bug is, where it occurred, and why. <p> -<li><b>When a bug is suspected.</b> Is your program behaving oddly? +<li><strong>When a bug is suspected.</strong> Is your program behaving oddly? Use a Valgrind tool to discover if a bug is the cause. <p> -<li><b>Before a release.</b> To give you confidence that your new +<li><strong>Before a release.</strong> To give you confidence that your new release is as stable and bug-free as possible. <p> --- devel-home/valgrind/related.html #1.9:1.10 @@ -72,5 +72,5 @@ We haven't tried the following ports, but they don't seem complete. But kudos -to the authors for attempting a <i>very</i> difficult task. +to the authors for attempting a <em>very</em> difficult task. <ul> --- devel-home/valgrind/style.css #1.1:1.2 @@ -1,2 +1,16 @@ -body { background: #ffffff; } +body { + background: #ffffff; + color: #000000; +} + +td.menu { + background: #eeeeee; + color: #000000; +} + +h1,h2 { text-align: center; } + +p.news { text-align: center; } + + --- devel-home/valgrind/tools.html #1.4:1.5 @@ -8,5 +8,5 @@ <ul> -<li><b>Memcheck</b> detects memory-management problems, and is aimed +<li><strong>Memcheck</strong> detects memory-management problems, and is aimed primarily at C and C++ programs. When a program is run under Memcheck's supervision, all reads and writes of memory are checked, @@ -36,5 +36,5 @@ programs about 10--30x slower than normal. -<li><b>Addrcheck</b> is a lightweight version of Memcheck which does +<li><strong>Addrcheck</strong> is a lightweight version of Memcheck which does no uninitialised-value checking. So it detects fewer errors than Memcheck, but programs run about twice as fast as they do on @@ -47,5 +47,5 @@ <p> -<li><b>Cachegrind</b> is a cache profiler. It performs detailed +<li><strong>Cachegrind</strong> is a cache profiler. It performs detailed simulation of the I1, D1 and L2 caches in your CPU and so can accurately pinpoint the sources of cache misses in your code. It @@ -57,5 +57,5 @@ <p> -<li><b>Helgrind</b> is a thread debugger which finds data races in +<li><strong>Helgrind</strong> is a thread debugger which finds data races in multithreaded programs. It looks for memory locations which are accessed by more than one (POSIX p-)thread, but for which no |
|
From: Nicholas N. <nj...@ca...> - 2004-02-11 11:59:01
|
CVS commit by nethercote:
Get url right
M +1 -1 related.html 1.9
--- devel-home/valgrind/related.html #1.8:1.9
@@ -21,5 +21,5 @@
<p>
<li>Jeremy Fitzhardinge has several Valgrind
- <a href="http://www.goop.org/~jeremy/valgrind/vgprof.html">patches</a>,
+ <a href="http://www.goop.org/~jeremy/valgrind/">patches</a>,
including one for vgprof, a Valgrind tool that does profiling like gprof,
but doesn't require recompilation, and works with threaded programs, and
|
|
From: Nicholas N. <nj...@ca...> - 2004-02-11 11:58:11
|
CVS commit by nethercote:
Make vgprof a bit clearer. Giving the skin the same name as the patched
version of gprof is very confusing...
M +5 -5 related.html 1.8
--- devel-home/valgrind/related.html #1.7:1.8
@@ -20,9 +20,9 @@
it collects.
<p>
-<li><a href="http://www.goop.org/~jeremy/valgrind/vgprof.html">VGProf</a>,
- by Jeremy Fitzhardinge, is a profiling tool like gprof, but doesn't
- require recompilation, and works with threaded programs, and can profile
- shared libraries. Jeremy also has various
- <a href="http://www.goop.org/~jeremy/valgrind/">patches</a> for Valgrind.
+<li>Jeremy Fitzhardinge has several Valgrind
+ <a href="http://www.goop.org/~jeremy/valgrind/vgprof.html">patches</a>,
+ including one for vgprof, a Valgrind tool that does profiling like gprof,
+ but doesn't require recompilation, and works with threaded programs, and
+ can profile shared libraries.
<p>
<li>Nick Nethercote has three experimental tools: a heap profiler, a
|
|
From: Marcel S. <mw...@re...> - 2004-02-11 07:35:20
|
On Wednesday 11 February 2004 08:23, Tom Hughes wrote: > In message <200...@re...> > > mw...@re... wrote: > > On Tuesday 10 February 2004 21:59, Tom Hughes wrote: > > > That gettid won't do anything useful as it will return the same value > > > in every thread which is most unlikely to be what the client program is > > > expecting to happen. > > > > Since i had a look at man 2 gettid and man 2 getpid it should behave like > > getpid. So i took the implementation of getpid and cloned it for gettid > > to get rid of messages telling me that syscall 224 isn't implemented. > > Not true, as getpid returns the PID of the first thread no matter which > thread it is called in while gettid returnd the PID of whichever thread > it is called in. > > The gettid manual does explain this: > > gettid returns the thread ID of the current process. This is equal to > the process ID (as returned by getpid(2)), unless the process is part > of a thread group (created by specifying the CLONE_THREAD flag to the > clone(2) system call). All processes in the same thread group have the > same PID, but each one has a unique TID. > > The problem is that under valgrind all the threads one in one kernel > level thread so the value returned by gettid will not vary with your > implementation. > > Tom Ok, understood. I will try another implementatiion and post it later on cu mws |
|
From: Tom H. <th...@cy...> - 2004-02-11 07:24:22
|
In message <200...@re...>
mw...@re... wrote:
> On Tuesday 10 February 2004 21:59, Tom Hughes wrote:
>
> > That gettid won't do anything useful as it will return the same value
> > in every thread which is most unlikely to be what the client program is
> > expecting to happen.
>
> Since i had a look at man 2 gettid and man 2 getpid it should behave like
> getpid. So i took the implementation of getpid and cloned it for gettid to
> get rid of messages telling me that syscall 224 isn't implemented.
Not true, as getpid returns the PID of the first thread no matter which
thread it is called in while gettid returnd the PID of whichever thread
it is called in.
The gettid manual does explain this:
gettid returns the thread ID of the current process. This is equal to
the process ID (as returned by getpid(2)), unless the process is part
of a thread group (created by specifying the CLONE_THREAD flag to the
clone(2) system call). All processes in the same thread group have the
same PID, but each one has a unique TID.
The problem is that under valgrind all the threads one in one kernel
level thread so the value returned by gettid will not vary with your
implementation.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|
|
From: <mw...@re...> - 2004-02-11 07:17:27
|
On Tuesday 10 February 2004 21:59, Tom Hughes wrote: > In message <200...@re...> > > mw...@re... wrote: > > attached is a diff for the gettid syscall. > > That gettid won't do anything useful as it will return the same value > in every thread which is most unlikely to be what the client program is > expecting to happen. > > Tom Since i had a look at man 2 gettid and man 2 getpid it should behave like getpid. So i took the implementation of getpid and cloned it for gettid to get rid of messages telling me that syscall 224 isn't implemented. If this is wrong - you also must remove the getpid function - cause it is also senseless. Or am i wrong? cu mws |
|
From: Nicholas N. <nj...@ca...> - 2004-02-10 23:44:36
|
CVS commit by nethercote:
Added support for epoll.
M +50 -1 coregrind/vg_syscalls.c 1.83
M +0 -1 coregrind/vg_unsafe.h 1.24
M +13 -0 include/vg_kerneliface.h 1.13
--- valgrind/coregrind/vg_syscalls.c #1.82:1.83
@@ -2129,5 +2129,5 @@ POST(fcntl)
{
if (arg2 == VKI_F_DUPFD)
- if(VG_(clo_track_fds))
+ if (VG_(clo_track_fds))
record_fd_open(tid, res, VG_(resolve_filename)(res));
}
@@ -3946,4 +3946,50 @@ POST(poll)
}
+PRE(epoll_create)
+{
+ /* int epoll_create(int size) */
+ MAYBE_PRINTF("epoll_create ( %d )\n", arg1);
+}
+
+POST(epoll_create)
+{
+ if (!fd_allowed(res, "open", tid)) {
+ VG_(close)(res);
+ res = -VKI_EMFILE;
+ } else {
+ if (VG_(clo_track_fds))
+ record_fd_open (tid, res, NULL);
+ }
+}
+
+PRE(epoll_ctl)
+{
+ /* int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) */
+ static const char* epoll_ctl_s[3] = {
+ "EPOLL_CTL_ADD",
+ "EPOLL_CTL_DEL",
+ "EPOLL_CTL_MOD"
+ };
+ MAYBE_PRINTF("epoll_ctl ( %d, %s, %d, %p )\n",
+ arg1, ( arg2<3 ? epoll_ctl_s[arg2] : "?" ), arg3, arg4);
+ SYSCALL_TRACK( pre_mem_read, tid, "epoll_ctl(event)",
+ arg4, sizeof(struct vki_epoll_event) );
+}
+
+PRE(epoll_wait)
+{
+ /* int epoll_wait(int epfd, struct epoll_event * events,
+ int maxevents, int timeout) */
+ MAYBE_PRINTF("epoll_wait ( %d, %p, %d, %d )\n", arg1, arg2, arg3, arg4);
+ SYSCALL_TRACK( pre_mem_write, tid, "epoll_wait(events)",
+ arg2, sizeof(struct vki_epoll_event)*arg3);
+}
+
+POST(epoll_wait)
+{
+ if (res > 0)
+ VG_TRACK( post_mem_write, arg2, sizeof(struct vki_epoll_event)*res ) ;
+}
+
PRE(readlink)
{
@@ -5202,4 +5248,7 @@ static const struct sys_info sys_info[]
SYSBA(pipe, False),
SYSBA(poll, True),
+ SYSBA(epoll_create, False),
+ SYSB_(epoll_ctl, False),
+ SYSBA(epoll_wait, True),
SYSBA(readlink, False),
SYSBA(readv, True),
--- valgrind/include/vg_kerneliface.h #1.12:1.13
@@ -510,4 +510,17 @@ struct vki_pollfd {
+/* sys/epoll.h */
+typedef union vki_epoll_data {
+ void *ptr;
+ Int fd;
+ UInt u32;
+ ULong u64;
+} vki_epoll_data_t;
+
+struct vki_epoll_event {
+ UInt events; /* Epoll events */
+ vki_epoll_data_t data; /* User data variable */
+};
+
/*
|
|
From: Nicholas N. <nj...@ca...> - 2004-02-10 22:07:44
|
CVS commit by nethercote: Added Speex M +3 -0 users.html 1.37 --- devel-home/valgrind/users.html #1.36:1.37 @@ -253,4 +253,7 @@ <dt><a href="http://amarok.sourceforge.net/">amaroK</a> <dd>A KDE media player.</a> + +<dt><a href="http://www.speex.org">Speex</a> +<dd>A patent-free voice codec. </dl> |
|
From: Tom H. <th...@cy...> - 2004-02-10 20:59:26
|
In message <200...@re...>
mw...@re... wrote:
> attached is a diff for the gettid syscall.
That gettid won't do anything useful as it will return the same value
in every thread which is most unlikely to be what the client program is
expecting to happen.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|
|
From: Nicholas N. <nj...@ca...> - 2004-02-10 15:41:25
|
CVS commit by nethercote: Beefed up the articles page. M +48 -9 articles.html 1.5 --- devel-home/valgrind/articles.html #1.4:1.5 @@ -7,17 +7,56 @@ ?> -The following articles have been written about Valgrind. - +<h3>Full Articles</h3> +The following articles are about Valgrind. <ul> -<li>January 15, 2004: - <a href="http://builder.com.com/5100-6375-5136747.html?tag=tt">Open Source - Awards 2004: Julian Seward for Valgrind</a>, by Rex Baldazo. Interview - with Julian Seward, covering Valgrind's origins. +<li> + Rex Baldazo. + <a href="http://builder.com.com/5100-6375-5136747.html">Open Source + Awards 2004: Julian Seward for Valgrind</a>. + Builder.com, January 15, 2004.<br> + Interview with Julian Seward, covering Valgrind's origins. <p> +</ul> + -<li>October 2003: +<h3>Partial Articles</h3> +The following articles mention Valgrind. +<ul> +<li>Jim Brooks. <a href="http://www.sabalsoftware.com/article_reliableCode.php">Developing - Reliable Linux Code</a>, by Jim Brooks. Concisely describes various - testing, debugging and auditing tools, including Valgrind. + Reliable Linux Code</a>. + Sabal Software, October 2003. + <p> + +<li>Carl Erickson. + <a href="http://www.linuxjournal.com/article.php?sid=6556">Memory leak + detection in C++</a>. + Linux Journal #110, June 2003. + <p> + +<li>Madhu M Kurup. + <a href="http://linuxgazette.net/issue81/kurup.html">Is Your Memory Not + What It Used To Be?</a>. + Linux Gazette, issue 81, August 2002. + <p> +</ul> + + +<h3>Announcements</h3> +The following announcements (with comments) concerned Valgrind. +<ul> +<li><a href="http://developers.slashdot.org/article.pl?sid=04/01/17/1817256">Open + Source Awards 2004</a>. + Slashdot, January 17, 2004. + <p> + +<li><a href="http://developers.slashdot.org/article.pl?sid=03/04/26/1638220">Cache + Optimization Now Made Easy, And Pretty</a>. + Slashdot, April 26, 2003. + <p> + +<li><a href="http://developers.slashdot.org/article.pl?sid=02/07/28/1833225">Valgrind + 1.0.0 Released"</a>. + Slashdot, July 28, 2002. <p> </ul> |
|
From: Nicholas N. <nj...@ca...> - 2004-02-10 14:30:38
|
CVS commit by nethercote: Added SAS (request finally got past their marketing and legal departments) M +6 -2 users.html 1.36 --- devel-home/valgrind/users.html #1.35:1.36 @@ -8,6 +8,6 @@ <p> The short list: OpenOffice, StarOffice, Mozilla, Opera, KDE, GNOME, Evolution, -MySQL, PostgreSQL, Perl, PHP, Samba, Nasa Mars Lander software, The GIMP, Ogg -Vorbis, Battlefield 1942... +MySQL, PostgreSQL, Perl, PHP, Samba, Nasa Mars Lander software, SAS, The GIMP, +Ogg Vorbis, Battlefield 1942... <p> The long list... @@ -320,4 +320,8 @@ <h3>Other</h3> <dl> +<dt><a href="http://www.sas.com">SAS</a> +<dd>A 25 MLOC integrated data management, business intelligence and analysis + system. + <dt><a href="http://www.gimp.org">The GIMP</a> <dd>The GNU Image Manipulation Program. |
|
From: <mw...@re...> - 2004-02-10 13:03:41
|
Hi, attached is a diff for the gettid syscall. Also there are the first 2 implementations of linux-tv ioctls. If it's done correctly please apply the patch to the cvs tree. More to come. cu mws |
|
From: Eyal L. <ey...@ey...> - 2004-02-10 08:44:30
|
Nicholas Nethercote wrote: > > On Sat, 7 Feb 2004, Eyal Lebedinsky wrote: > > > A program (sched) is execing another (init) which then > > spawns (fork/exec) another. The failure is always in > > this last execvp() before the target executable starts. > > Any chance you can reduce it to a small test case? I doubt it. I already tried once and failed. This seems to happen in a very irregular way, and rarely. Nevertheless, If I manage to get anything like reproducability then I will attempt to reduce the system to something that I can submit as a test case. I will keep trying though. Is there an option to induce vg to generate a more detailed report, which may give a clue to an educated developer? -- Eyal Lebedinsky (ey...@ey...) <http://samba.org/eyal/> |
|
From: Nicholas N. <nj...@ca...> - 2004-02-10 02:50:32
|
CVS commit by nethercote: Added Prelude-IDS, Gimp-print M +6 -0 users.html 1.34 --- devel-home/valgrind/users.html #1.33:1.34 @@ -270,6 +270,12 @@ <dd>A network traffic probe that shows network usage. +<dt><a href="http://www.prelude-ids.org">Prelude IDS</a> +<dd>A hybrid intrusion detection system for network/host security. + <dt><a href="http://synce.sf.net">SynCE</a> <dd>A WinCE communications layer. + +<dt><a href="http://gimp-print.sourceforge.net">Gimp-Print</a> +<dd>Printer drivers for use with Ghostscript, CUPS, Foomatic, and The GIMP. </dl> |
|
From: Nicholas N. <nj...@ca...> - 2004-02-10 01:39:24
|
CVS commit by nethercote: Mozilla Firebird has changed its name, again M +2 -2 users.html 1.35 --- devel-home/valgrind/users.html #1.34:1.35 @@ -43,5 +43,5 @@ <dd>Web application suite, for browsing, email, IRC chat and HTML editing. -<dt><a href="http://mozilla.org/products/firebird/">Mozilla Firebird</a> +<dt><a href="http://mozilla.org/products/firefox/">Mozilla Firefox</a> <dd>A lean, fast web browser derived from the Mozilla suite. @@ -276,5 +276,5 @@ <dd>A WinCE communications layer. -<dt><a href="http://gimp-print.sourceforge.net">Gimp-Print</a> +<dt><a href="http://gimp-print.sf.net">Gimp-Print</a> <dd>Printer drivers for use with Ghostscript, CUPS, Foomatic, and The GIMP. </dl> |
|
From: Jeremy F. <je...@go...> - 2004-02-10 01:22:16
|
On Mon, 2004-02-09 at 01:39, Nicholas Nethercote wrote: > Are you sure? > > AFAICT, fd_allowed() is used in the PRE() for all syscalls that take an fd > as an argument: > > readv, writev, close, dup2, read, write > > It is also used in the POST() for syscalls that produce a new fd: > > dup, open, creat, pipe, socketcall > > Generally, the fd opened is checked, and if it's not one allowed by > Valgrind, we close it again and return VKI_EMFILE. > > However, the following syscalls produce an fd but do not have the > fd_allowed check: > > dup2, fcntl(dup), fcntl64(dup), socketcall, futex > > POST(socketcall) even has the following comment: > > /* XXX TODO: check return fd against VG_(max_fd) */ > > So it seems these last ones should be checked, as should > POST(epoll_create)? You're right. The check in the POST() functions is to make sure that the kernel didn't allocate a client FD in Valgrind's reserved range. Some syscalls, like dup2, allow the client to ask for any FD they want, and others will just return the next available one, which may be in Valgrind's range. In these cases we should close the FD and return ENFILE (or maybe EMFILE). epoll should be the same. J |
|
From: Nicholas N. <nj...@ca...> - 2004-02-10 01:22:00
|
On Sat, 7 Feb 2004, Eyal Lebedinsky wrote: > A program (sched) is execing another (init) which then > spawns (fork/exec) another. The failure is always in > this last execvp() before the target executable starts. Any chance you can reduce it to a small test case? N |
|
From: Nicholas N. <nj...@ca...> - 2004-02-09 11:47:01
|
CVS commit by nethercote:
formatting
M +2 -0 articles.html 1.4
--- devel-home/valgrind/articles.html #1.3:1.4
@@ -14,4 +14,5 @@
Awards 2004: Julian Seward for Valgrind</a>, by Rex Baldazo. Interview
with Julian Seward, covering Valgrind's origins.
+ <p>
<li>October 2003:
@@ -19,4 +20,5 @@
Reliable Linux Code</a>, by Jim Brooks. Concisely describes various
testing, debugging and auditing tools, including Valgrind.
+ <p>
</ul>
<p>
|
|
From: Nicholas N. <nj...@ca...> - 2004-02-09 11:45:05
|
CVS commit by nethercote:
Added article link
M +5 -0 articles.html 1.3
--- devel-home/valgrind/articles.html #1.2:1.3
@@ -14,4 +14,9 @@
Awards 2004: Julian Seward for Valgrind</a>, by Rex Baldazo. Interview
with Julian Seward, covering Valgrind's origins.
+
+<li>October 2003:
+ <a href="http://www.sabalsoftware.com/article_reliableCode.php">Developing
+ Reliable Linux Code</a>, by Jim Brooks. Concisely describes various
+ testing, debugging and auditing tools, including Valgrind.
</ul>
<p>
|
|
From: Nicholas N. <nj...@ca...> - 2004-02-09 09:39:45
|
[moving to valgrind-developers]
On Thu, 5 Feb 2004, Jeremy Fitzhardinge wrote:
> > Jeremy, can you take a look at the patch and tell me whether the
> > fd_allowed() call is needed in POST(epoll_create)? Thanks.
>
> fd_allowed is to check FDs as they're passed into syscalls; it shouldn't
> be necessary for FDs created by a syscall (ie, they should always be in
> a PRE(x)).
Are you sure?
AFAICT, fd_allowed() is used in the PRE() for all syscalls that take an fd
as an argument:
readv, writev, close, dup2, read, write
It is also used in the POST() for syscalls that produce a new fd:
dup, open, creat, pipe, socketcall
Generally, the fd opened is checked, and if it's not one allowed by
Valgrind, we close it again and return VKI_EMFILE.
However, the following syscalls produce an fd but do not have the
fd_allowed check:
dup2, fcntl(dup), fcntl64(dup), socketcall, futex
POST(socketcall) even has the following comment:
/* XXX TODO: check return fd against VG_(max_fd) */
So it seems these last ones should be checked, as should
POST(epoll_create)?
N
|
|
From: Nicholas N. <nj...@ca...> - 2004-02-08 13:51:30
|
CVS commit by nethercote: Improve EQUINOX-3D's description. M +2 -1 users.html 1.33 --- devel-home/valgrind/users.html #1.32:1.33 @@ -132,5 +132,6 @@ <dt><a href="http://www.equinox3d.com">EQUINOX-3D</a> -<dd>A 3D graphics renderer and ray-tracer for Linux and Unix. +<dd>A modeling, animation and renderering suite for 3D graphics on Linux and +Unix. <dt><a href="http://anatomist.info/">Anatomist</a> |
|
From: Nicholas N. <nj...@ca...> - 2004-02-07 20:27:32
|
CVS commit by nethercote: Added "Graphics and Visualization" category. Added EQUINOX-3D. M +12 -5 users.html 1.32 --- devel-home/valgrind/users.html #1.31:1.32 @@ -122,4 +122,15 @@ <dt><a href="http://www.chevreux.org/projects_mira.html">MIRA Assembler</a> <dd>A whole genome shotgun and EST sequence assembler. +</dl> + + +<h3>Graphics and Visualization</h3> +<dl> +<dt><a href="http://www.opensg.org">OpenSG</a> +<dd>A portable scenegraph system for creating realtime graphics programs, e.g. + for virtual reality applications. + +<dt><a href="http://www.equinox3d.com">EQUINOX-3D</a> +<dd>A 3D graphics renderer and ray-tracer for Linux and Unix. <dt><a href="http://anatomist.info/">Anatomist</a> @@ -145,5 +156,5 @@ <dt><a href="http://www.simgear.org">SimGear</a> -<dd>Building-block libraries for quickly assembling 3d simulations, games, and +<dd>Building-block libraries for quickly assembling 3D simulations, games, and visualization applications. </dl> @@ -315,8 +326,4 @@ <dd>A tool to estimate the power dissipation of hardware/ASIC designs. -<dt><a href="http://www.opensg.org">OpenSG</a> -<dd>A portable scenegraph system for creating realtime graphics programs, e.g. - for virtual reality applications. - <dt><a href="http://www.xmlBlaster.org">xmlBlaster</a> <dd>A publish/subscribe and PtP message oriented middleware with easy |