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
(16) |
2
(23) |
3
(15) |
|
4
(19) |
5
(21) |
6
(27) |
7
(18) |
8
(17) |
9
(15) |
10
(11) |
|
11
(9) |
12
(18) |
13
(26) |
14
(28) |
15
(26) |
16
(20) |
17
(27) |
|
18
(16) |
19
(40) |
20
(2) |
21
(11) |
22
(27) |
23
(24) |
24
(16) |
|
25
(10) |
26
(12) |
27
(16) |
28
(7) |
29
(6) |
30
(15) |
31
(5) |
|
From: <sv...@va...> - 2005-12-21 20:22:55
|
Author: njn
Date: 2005-12-21 20:22:52 +0000 (Wed, 21 Dec 2005)
New Revision: 5398
Log:
Renamed coregrind.h to pub_core_clreq.h and introduced pub_tool_clreq.h t=
o
be consistent with the module naming scheme.
Added:
trunk/coregrind/pub_core_clreq.h
trunk/include/pub_tool_clreq.h
Removed:
trunk/coregrind/coregrind.h
Modified:
trunk/coregrind/Makefile.am
trunk/coregrind/m_replacemalloc/vg_replace_malloc.c
trunk/coregrind/m_scheduler/scheduler.c
trunk/coregrind/vg_preloaded.c
trunk/include/Makefile.am
Modified: trunk/coregrind/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/Makefile.am 2005-12-21 19:47:06 UTC (rev 5397)
+++ trunk/coregrind/Makefile.am 2005-12-21 20:22:52 UTC (rev 5398)
@@ -48,11 +48,11 @@
endif
=20
noinst_HEADERS =3D \
- coregrind.h \
pub_core_aspacemgr.h \
pub_core_basics.h \
pub_core_basics_asm.h \
pub_core_clientstate.h \
+ pub_core_clreq.h \
pub_core_commandline.h \
pub_core_coredump.h \
pub_core_cpuid.h \
Deleted: trunk/coregrind/coregrind.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/coregrind.h 2005-12-21 19:47:06 UTC (rev 5397)
+++ trunk/coregrind/coregrind.h 2005-12-21 20:22:52 UTC (rev 5398)
@@ -1,80 +0,0 @@
-
-/*--------------------------------------------------------------------*/
-/*--- Internal client requests. coregrind.h ---*/
-/*--------------------------------------------------------------------*/
-
-/*
- This file is part of Valgrind, a dynamic binary instrumentation
- framework.
-
- Copyright (C) 2000-2005 Julian Seward
- js...@ac...
-
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License as
- published by the Free Software Foundation; either version 2 of the
- License, or (at your option) any later version.
-
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307, USA.
-
- The GNU General Public License is contained in the file COPYING.
-*/
-
-#ifndef __COREGRIND_H
-#define __COREGRIND_H
-
-//--------------------------------------------------------------------
-// PURPOSE: This file is the counterpart to valgrind.h. It contains
-// the client requests that are internal to Valgrind, and not to be seen
-// by client programs.
-//--------------------------------------------------------------------
-
-#include <stdarg.h>
-
-// The strange choice of values here is due to historical reasons -- the=
re
-// used to be many more internal client requests.
-typedef
- enum {=20
- /* Denote the finish of __libc_freeres_wrapper(). Also causes exi=
t. */
- VG_USERREQ__LIBC_FREERES_DONE =3D 0x3029,
-
- /* Get the tool's malloc-wrapping functions */
- VG_USERREQ__GET_MALLOCFUNCS =3D 0x3030,
-
- /* Internal equivalent of VALGRIND_PRINTF . */
- VG_USERREQ__INTERNAL_PRINTF =3D 0x3103,
-
- } Vg_InternalClientRequest;
-
-// Function for printing from code within Valgrind, but which runs on th=
e
-// sim'd CPU. Must be a function rather than macros so that va_list can
-// be used.
-
-int VALGRIND_INTERNAL_PRINTF(char *format, ...);
-__attribute__((format(__printf__, 1, 2)))
-__attribute__((weak))
-int VALGRIND_INTERNAL_PRINTF(char *format, ...)
-{
- unsigned long _qzz_res =3D 0;
- va_list vargs;
- va_start(vargs, format);
- VALGRIND_MAGIC_SEQUENCE(_qzz_res, 0, VG_USERREQ__INTERNAL_PRINTF,
- (unsigned long)format, (unsigned long)vargs, =
0, 0);
- va_end(vargs);
- return _qzz_res;
-}
-
-
-#endif // __COREGRIND_H
-
-/*--------------------------------------------------------------------*/
-/*--- end ---*/
-/*--------------------------------------------------------------------*/
Modified: trunk/coregrind/m_replacemalloc/vg_replace_malloc.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_replacemalloc/vg_replace_malloc.c 2005-12-21 19:47:=
06 UTC (rev 5397)
+++ trunk/coregrind/m_replacemalloc/vg_replace_malloc.c 2005-12-21 20:22:=
52 UTC (rev 5398)
@@ -44,10 +44,9 @@
traces, so we want the name to be (hopefully!) meaningful to users.
------------------------------------------------------------------ */
=20
-#include "valgrind.h" // for VALGRIND_NON_SIMD_CALL[12]
-#include "coregrind.h" // for VALGRIND_INTERNAL_PRINTF
-
#include "pub_core_basics.h"
+#include "pub_core_clreq.h" // for VALGRIND_INTERNAL_PRINTF,
+ // VALGRIND_NON_SIMD_CALL[12]
#include "pub_core_debuginfo.h" // needed for pub_core_redir.h :(
#include "pub_core_mallocfree.h" // for VG_MIN_MALLOC_SZB, VG_AR_CLIE=
NT
#include "pub_core_redir.h" // for VG_REPLACE_FUNCTION
Modified: trunk/coregrind/m_scheduler/scheduler.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_scheduler/scheduler.c 2005-12-21 19:47:06 UTC (rev =
5397)
+++ trunk/coregrind/m_scheduler/scheduler.c 2005-12-21 20:22:52 UTC (rev =
5398)
@@ -57,12 +57,10 @@
way back for the moment, until we do an OS port in earnest...]
*/
=20
-#include "valgrind.h" // for VG_USERREQ__*
-#include "coregrind.h" // for VG_USERREQ__*
-
#include "pub_core_basics.h"
#include "pub_core_threadstate.h"
#include "pub_core_aspacemgr.h"
+#include "pub_core_clreq.h" // for VG_USERREQ__*
#include "pub_core_dispatch.h"
#include "pub_core_errormgr.h" // For VG_(get_n_errs_found)()
#include "pub_core_libcbase.h"
Copied: trunk/coregrind/pub_core_clreq.h (from rev 5397, trunk/coregrind/=
coregrind.h)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/pub_core_clreq.h (rev 0)
+++ trunk/coregrind/pub_core_clreq.h 2005-12-21 20:22:52 UTC (rev 5398)
@@ -0,0 +1,78 @@
+
+/*--------------------------------------------------------------------*/
+/*--- Internal client requests. pub_core_clreq.h ---*/
+/*--------------------------------------------------------------------*/
+
+/*
+ This file is part of Valgrind, a dynamic binary instrumentation
+ framework.
+
+ Copyright (C) 2000-2005 Julian Seward
+ js...@ac...
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307, USA.
+
+ The GNU General Public License is contained in the file COPYING.
+*/
+
+#ifndef __PUB_CORE_CLREQ_H
+#define __PUB_CORE_CLREQ_H
+
+//--------------------------------------------------------------------
+// PURPOSE: This module defined client requests.
+//--------------------------------------------------------------------
+
+#include "pub_tool_clreq.h"
+
+// The strange choice of values here is due to historical reasons -- the=
re
+// used to be many more internal client requests.
+typedef
+ enum {=20
+ /* Denote the finish of __libc_freeres_wrapper(). Also causes exi=
t. */
+ VG_USERREQ__LIBC_FREERES_DONE =3D 0x3029,
+
+ /* Get the tool's malloc-wrapping functions */
+ VG_USERREQ__GET_MALLOCFUNCS =3D 0x3030,
+
+ /* Internal equivalent of VALGRIND_PRINTF . */
+ VG_USERREQ__INTERNAL_PRINTF =3D 0x3103,
+
+ } Vg_InternalClientRequest;
+
+// Function for printing from code within Valgrind, but which runs on th=
e
+// sim'd CPU. Must be a function rather than macros so that va_list can
+// be used.
+
+int VALGRIND_INTERNAL_PRINTF(char *format, ...);
+__attribute__((format(__printf__, 1, 2)))
+__attribute__((weak))
+int VALGRIND_INTERNAL_PRINTF(char *format, ...)
+{
+ unsigned long _qzz_res =3D 0;
+ va_list vargs;
+ va_start(vargs, format);
+ VALGRIND_MAGIC_SEQUENCE(_qzz_res, 0, VG_USERREQ__INTERNAL_PRINTF,
+ (unsigned long)format, (unsigned long)vargs, =
0, 0);
+ va_end(vargs);
+ return _qzz_res;
+}
+
+
+#endif // __PUB_CORE_CLREQ_H
+
+/*--------------------------------------------------------------------*/
+/*--- end ---*/
+/*--------------------------------------------------------------------*/
Modified: trunk/coregrind/vg_preloaded.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/vg_preloaded.c 2005-12-21 19:47:06 UTC (rev 5397)
+++ trunk/coregrind/vg_preloaded.c 2005-12-21 20:22:52 UTC (rev 5398)
@@ -42,10 +42,8 @@
originates from Valgrind.
------------------------------------------------------------------ */
=20
-#include "valgrind.h"
-#include "coregrind.h"
-
#include "pub_core_basics.h"
+#include "pub_core_clreq.h"
#include "pub_core_debuginfo.h" // Needed for pub_core_redir.h
#include "pub_core_redir.h" // For VG_NOTIFY_ON_LOAD
=20
Modified: trunk/include/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/include/Makefile.am 2005-12-21 19:47:06 UTC (rev 5397)
+++ trunk/include/Makefile.am 2005-12-21 20:22:52 UTC (rev 5398)
@@ -6,6 +6,7 @@
pub_tool_basics_asm.h \
pub_tool_aspacemgr.h \
pub_tool_clientstate.h \
+ pub_tool_clreq.h \
pub_tool_cpuid.h \
pub_tool_debuginfo.h \
pub_tool_errormgr.h \
Added: trunk/include/pub_tool_clreq.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/include/pub_tool_clreq.h (rev 0)
+++ trunk/include/pub_tool_clreq.h 2005-12-21 20:22:52 UTC (rev 5398)
@@ -0,0 +1,40 @@
+
+/*--------------------------------------------------------------------*/
+/*--- Client requests. pub_tool_clreq.h ---*/
+/*--------------------------------------------------------------------*/
+
+/*
+ This file is part of Valgrind, a dynamic binary instrumentation
+ framework.
+
+ Copyright (C) 2000-2005 Julian Seward
+ js...@ac...
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307, USA.
+
+ The GNU General Public License is contained in the file COPYING.
+*/
+
+#ifndef __PUB_TOOL_CLREQ_H
+#define __PUB_TOOL_CLREQ_H
+
+#include "valgrind.h"
+
+#endif // __PUB_TOOL_CLREQ_H
+
+/*--------------------------------------------------------------------*/
+/*--- end ---*/
+/*--------------------------------------------------------------------*/
|
|
From: <sv...@va...> - 2005-12-21 19:47:08
|
Author: njn Date: 2005-12-21 19:47:06 +0000 (Wed, 21 Dec 2005) New Revision: 5397 Log: update Modified: trunk/docs/internals/3_1_BUGSTATUS.txt Modified: trunk/docs/internals/3_1_BUGSTATUS.txt =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/docs/internals/3_1_BUGSTATUS.txt 2005-12-21 19:45:29 UTC (rev 5= 396) +++ trunk/docs/internals/3_1_BUGSTATUS.txt 2005-12-21 19:47:06 UTC (rev 5= 397) @@ -30,3 +30,4 @@ v5378/80 v5379/81 n-i-bz Clarified leak checker output message v5382 pending n-i-bz AshleyP's --gen-suppressions output fix v5384 wontfix 117096 Weird errors when --log-fd=3D has invalid v= alue +v5396 pending n-i-bz cg_annotate's --sort option broken |
|
From: <sv...@va...> - 2005-12-21 19:45:39
|
Author: njn
Date: 2005-12-21 19:45:29 +0000 (Wed, 21 Dec 2005)
New Revision: 5396
Log:
Fixed cg_annotate bug -- when using the --sort option the primary thresho=
ld
was set to zero and so no annotation was done. =20
Also put the file format into this file, and some other tiny changes.
Modified:
trunk/cachegrind/cg_annotate.in
Modified: trunk/cachegrind/cg_annotate.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/cachegrind/cg_annotate.in 2005-12-21 01:29:37 UTC (rev 5395)
+++ trunk/cachegrind/cg_annotate.in 2005-12-21 19:45:29 UTC (rev 5396)
@@ -1,9 +1,7 @@
-#! @PERL@ -w
+#! @PERL@
=20
##--------------------------------------------------------------------##
-##--- The cache simulation framework: instrumentation, recording ---##
-##--- and results printing. ---##
-##--- cg_annotate.in ---##
+##--- Cachegrind's annotator. cg_annotate.in ---##
##--------------------------------------------------------------------##
=20
# This file is part of Cachegrind, a Valgrind tool for cache
@@ -30,10 +28,53 @@
# The GNU General Public License is contained in the file COPYING.
=20
#-----------------------------------------------------------------------=
-----
-# Annotator for cachegrind.=20
-#
-# File format is described in /docs/techdocs.html.
-#
+# The file format is simple, basically printing the cost centre for ever=
y
+# source line, grouped by files and functions:
+#=20
+# file ::=3D desc_line* cmd_line events_line data_line+ summar=
y_line
+# desc_line ::=3D "desc:" ws? non_nl_string
+# cmd_line ::=3D "cmd:" ws? cmd
+# events_line ::=3D "events:" ws? (event ws)+
+# data_line ::=3D file_line | fn_line | count_line
+# file_line ::=3D ("fl=3D" | "fi=3D" | "fe=3D") filename
+# fn_line ::=3D "fn=3D" fn_name
+# count_line ::=3D line_num ws? (count ws)+
+# summary_line ::=3D "summary:" ws? (count ws)+
+# count ::=3D num | "."
+#=20
+# where
+# 'non_nl_string' is any string not containing a newline.
+# 'cmd' is a string holding the command line of the profiled program.
+# 'filename' and 'fn_name' are strings.
+# 'num' and 'line_num' are decimal integers.
+# 'ws' is whitespace.
+#=20
+# The contents of the "desc:" lines are printed out at the top
+# of the summary. This is a generic way of providing simulation
+# specific information, eg. for giving the cache configuration for
+# cache simulation.
+#=20
+# Counts can be "." to represent "N/A", eg. the number of write misses f=
or an
+# instruction that doesn't write to memory.
+#=20
+# The number of counts in each 'line' and the 'summary_line' should not =
exceed
+# the number of events in the 'event_line'. If the number in each 'line=
' is
+# less, cg_annotate treats those missing as though they were a "." entry=
.
+#=20
+# A 'file_line' changes the current file name. A 'fn_line' changes the
+# current function name. A 'count_line' contains counts that pertain to=
the
+# current filename/fn_name. A 'file_line' and a 'fn_line' must appear
+# before any 'count_line's to give the context of the first 'count_line'=
.
+#=20
+# Each 'file_line' should be immediately followed by a 'fn_line'. "fi=3D=
"
+# 'file_lines' are used to switch filenames for inlined functions; "fe=3D=
"
+# 'file_lines' are similar, but are put at the end of a basic block in w=
hich
+# the file name hasn't been switched back to the original file name. (f=
i
+# and fe lines behave the same, they are only distinguished to help
+# debugging.) [Nb: "fi=3D" and "fe=3D" have not been produced by Cacheg=
rind for
+# some time, they are no longer necessary.]
+
+#-----------------------------------------------------------------------=
-----
# Performance improvements record, using cachegrind.out for cacheprof, d=
oing no
# source annotation (irrelevant ones removed):
# user tim=
e
@@ -57,6 +98,7 @@
#16. Finding count lengths by int((length-1)/3), not by
# commifying (halves the number of commify calls) 1.68s --=
> 1.47s
=20
+use warnings;
use strict;
=20
#-----------------------------------------------------------------------=
-----
@@ -187,19 +229,26 @@
@show_events =3D split(/,/, $1);
=20
# --sort=3DA,B,C
+ # Nb: You can specify thresholds individually, eg.
+ # --sort=3DA:99,B:95,C:90. These will override any --thre=
shold
+ # argument.
} elsif ($arg =3D~ /^--sort=3D(.*)$/) {
@sort_events =3D split(/,/, $1);
+ my $th_specified =3D 0;
foreach my $i (0 .. scalar @sort_events - 1) {
- if ($sort_events[$i] =3D~#/.*:(\d+)$/) {
- /.*:([\d\.]+)%?$/) {
+ if ($sort_events[$i] =3D~ /.*:([\d\.]+)%?$/) {
my $th =3D $1;
($th >=3D 0 && $th <=3D 100) or die($usage);
$sort_events[$i] =3D~ s/:.*//;
$thresholds[$i] =3D $th;
+ $th_specified =3D 1;
} else {
$thresholds[$i] =3D 0;
}
}
+ if (not $th_specified) {
+ @thresholds =3D ();
+ }
=20
# --threshold=3DX (tolerates a trailing '%')
} elsif ($arg =3D~ /^--threshold=3D([\d\.]+)%?$/) {
|
|
From: <js...@ac...> - 2005-12-21 03:56:17
|
Nightly build on phoenix ( SuSE 10.0 ) started at 2005-12-21 03:30:01 GMT Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 208 tests, 6 stderr failures, 1 stdout failure ================= memcheck/tests/leak-tree (stderr) memcheck/tests/mempool (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) none/tests/mremap2 (stdout) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: <js...@ac...> - 2005-12-21 03:47:08
|
Nightly build on g5 ( YDL 4.0, ppc970 ) started at 2005-12-21 04:40:00 CET Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 176 tests, 15 stderr failures, 0 stdout failures ================= memcheck/tests/badjump (stderr) memcheck/tests/badjump2 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/mempool (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/supp1 (stderr) memcheck/tests/supp_unknown (stderr) memcheck/tests/toobig-allocs (stderr) memcheck/tests/xml1 (stderr) massif/tests/toobig-allocs (stderr) none/tests/faultstatus (stderr) none/tests/fdleak_cmsg (stderr) none/tests/mremap (stderr) |
|
From: Tom H. <to...@co...> - 2005-12-21 03:43:08
|
Nightly build on dunsmere ( athlon, Fedora Core 4 ) started at 2005-12-21 03:30:05 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 210 tests, 7 stderr failures, 1 stdout failure ================= memcheck/tests/leak-tree (stderr) memcheck/tests/mempool (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) none/tests/mremap2 (stdout) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <th...@cy...> - 2005-12-21 03:42:48
|
Nightly build on aston ( x86_64, Fedora Core 3 ) started at 2005-12-21 03:05:15 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 227 tests, 6 stderr failures, 1 stdout failure ================= memcheck/tests/mempool (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/amd64/faultstatus (stderr) none/tests/mremap2 (stdout) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <th...@cy...> - 2005-12-21 03:29:36
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2005-12-21 03:15:08 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 209 tests, 17 stderr failures, 0 stdout failures ================= memcheck/tests/addressable (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/erringfds (stderr) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/mempool (stderr) memcheck/tests/partial_load_dflt (stderr) memcheck/tests/partial_load_ok (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/sigkill (stderr) memcheck/tests/stack_changes (stderr) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <th...@cy...> - 2005-12-21 03:26:48
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2005-12-21 03:00:03 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 227 tests, 6 stderr failures, 0 stdout failures ================= memcheck/tests/mempool (stderr) memcheck/tests/pointer-trace (stderr) none/tests/amd64/faultstatus (stderr) none/tests/fdleak_fcntl (stderr) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <th...@cy...> - 2005-12-21 03:25:33
|
Nightly build on dellow ( x86_64, Fedora Core 4 ) started at 2005-12-21 03:10:15 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 227 tests, 5 stderr failures, 1 stdout failure ================= memcheck/tests/mempool (stderr) memcheck/tests/x86/scalar (stderr) none/tests/amd64/faultstatus (stderr) none/tests/mremap2 (stdout) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: <sv...@va...> - 2005-12-21 01:29:52
|
Author: njn
Date: 2005-12-21 01:29:37 +0000 (Wed, 21 Dec 2005)
New Revision: 5395
Log:
Make it compile again.
Modified:
branches/COMPVBITS/include/pub_tool_libcbase.h
branches/COMPVBITS/memcheck/mc_main.c
Modified: branches/COMPVBITS/include/pub_tool_libcbase.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/COMPVBITS/include/pub_tool_libcbase.h 2005-12-20 23:02:43 UT=
C (rev 5394)
+++ branches/COMPVBITS/include/pub_tool_libcbase.h 2005-12-21 01:29:37 UT=
C (rev 5395)
@@ -90,6 +90,7 @@
------------------------------------------------------------------ */
=20
// Check if an address/whatever is aligned
+#define VG_IS_2_ALIGNED(aaa_p) (0 =3D=3D (((Addr)(aaa_p)) & ((Addr)0x=
1)))
#define VG_IS_4_ALIGNED(aaa_p) (0 =3D=3D (((Addr)(aaa_p)) & ((Addr)0x=
3)))
#define VG_IS_8_ALIGNED(aaa_p) (0 =3D=3D (((Addr)(aaa_p)) & ((Addr)0x=
7)))
#define VG_IS_16_ALIGNED(aaa_p) (0 =3D=3D (((Addr)(aaa_p)) & ((Addr)0x=
f)))
Modified: branches/COMPVBITS/memcheck/mc_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/COMPVBITS/memcheck/mc_main.c 2005-12-20 23:02:43 UTC (rev 53=
94)
+++ branches/COMPVBITS/memcheck/mc_main.c 2005-12-21 01:29:37 UTC (rev 53=
95)
@@ -34,6 +34,9 @@
=20
test whether it would be faster, for LOADV4, to check
only for 8-byte validity on the fast path
+
+ (That could only be faster for 64-bit platforms, right? =20
+ --njn Dec-20-2005)
*/
=20
#include "pub_tool_basics.h"
@@ -575,7 +578,9 @@
static inline
void insert_vabits16_into_vabits32 ( Addr a, UChar vabits16, UChar* vabi=
ts32 )
{
- UInt shift =3D (a & 2) << 1; // shift by 0 or 4
+ UInt shift;
+ tl_assert(VG_IS_2_ALIGNED(a)); // Must be 2-aligned
+ shift =3D (a & 2) << 1; // shift by 0 or 4
*vabits32 &=3D ~(0xf << shift); // mask out the four old bits
*vabits32 |=3D (vabits16 << shift); // mask in the four new bits
}
@@ -583,11 +588,21 @@
static inline
UChar extract_vabits8_from_vabits32 ( Addr a, UChar vabits32 )
{
- UInt shift =3D (a & 3) << 1; // use (a % 4) for the offset
- vabits32 >>=3D shift; // shift the two bits to the botto=
m
- return 0x3 & vabits32; // mask out the rest
+ UInt shift =3D (a & 3) << 1; // shift by 0, 2, 4, or 6
+ vabits32 >>=3D shift; // shift the two bits to the bo=
ttom
+ return 0x3 & vabits32; // mask out the rest
}
=20
+static inline
+UChar extract_vabits16_from_vabits32 ( Addr a, UChar vabits32 )
+{
+ UInt shift;
+ tl_assert(VG_IS_2_ALIGNED(a)); // Must be 2-aligned
+ shift =3D (a & 2) << 1; // shift by 0 or 4
+ vabits32 >>=3D shift; // shift the four bits to the b=
ottom
+ return 0xf & vabits32; // mask out the rest
+}
+
// Note that these two are only used in slow cases. The fast cases do
// clever things like combine the auxmap check (in
// get_secmap_{read,writ}able) with alignment checks.
|