From: Nicholas Nethercote Date: Thu, 10 Aug 2023 04:19:36 +0000 (+1000) Subject: Update Cachegrind description in the usage message and header comments. X-Git-Tag: VALGRIND_3_22_0~121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7bfa5a8e9f450fe1391a16359651157f46bb736;p=thirdparty%2Fvalgrind.git Update Cachegrind description in the usage message and header comments. This matches an earlier change to the description in the user manual. And fix indentation of the license in a couple of files. --- diff --git a/cachegrind/cg_annotate.in b/cachegrind/cg_annotate.in index c76a760be0..4d9d3e32cd 100755 --- a/cachegrind/cg_annotate.in +++ b/cachegrind/cg_annotate.in @@ -5,8 +5,8 @@ # --- Cachegrind's annotator. cg_annotate.in --- # -------------------------------------------------------------------- -# This file is part of Cachegrind, a Valgrind tool for cache -# profiling programs. +# This file is part of Cachegrind, a high-precision tracing profiler +# built with Valgrind. # # Copyright (C) 2002-2023 Nicholas Nethercote # njn@valgrind.org diff --git a/cachegrind/cg_arch.c b/cachegrind/cg_arch.c index 52e8982184..6ff2247e84 100644 --- a/cachegrind/cg_arch.c +++ b/cachegrind/cg_arch.c @@ -3,8 +3,8 @@ /*--------------------------------------------------------------------*/ /* - This file is part of Cachegrind, a Valgrind tool for cache - profiling programs. + This file is part of Cachegrind, a high-precision tracing profiler + built with Valgrind. Copyright (C) 2011-2017 Nicholas Nethercote njn@valgrind.org diff --git a/cachegrind/cg_arch.h b/cachegrind/cg_arch.h index add18e13da..5bb56b082b 100644 --- a/cachegrind/cg_arch.h +++ b/cachegrind/cg_arch.h @@ -4,8 +4,8 @@ /*--------------------------------------------------------------------*/ /* - This file is part of Cachegrind, a Valgrind tool for cache - profiling programs. + This file is part of Cachegrind, a high-precision tracing profiler + built with Valgrind. Copyright (C) 2002-2017 Nicholas Nethercote njn@valgrind.org diff --git a/cachegrind/cg_branchpred.c b/cachegrind/cg_branchpred.c index ba433ec2ce..927b7bf21c 100644 --- a/cachegrind/cg_branchpred.c +++ b/cachegrind/cg_branchpred.c @@ -4,8 +4,8 @@ /*--------------------------------------------------------------------*/ /* - This file is part of Cachegrind, a Valgrind tool for cache - profiling programs. + This file is part of Cachegrind, a high-precision tracing profiler + built with Valgrind. Copyright (C) 2002-2017 Nicholas Nethercote njn@valgrind.org diff --git a/cachegrind/cg_diff.in b/cachegrind/cg_diff.in index d3a63189ea..e193e99d78 100755 --- a/cachegrind/cg_diff.in +++ b/cachegrind/cg_diff.in @@ -5,26 +5,26 @@ # --- Cachegrind's differencer. cg_diff.in --- # -------------------------------------------------------------------- -# This file is part of Cachegrind, a Valgrind tool for cache -# profiling programs. +# This file is part of Cachegrind, a high-precision tracing profiler +# built with Valgrind. # -# Copyright (C) 2002-2023 Nicholas Nethercote -# njn@valgrind.org +# Copyright (C) 2002-2023 Nicholas Nethercote +# njn@valgrind.org # -# 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 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. +# 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, see . +# You should have received a copy of the GNU General Public License +# along with this program; if not, see . # -# The GNU General Public License is contained in the file COPYING. +# The GNU General Public License is contained in the file COPYING. # This script diffs Cachegrind output files. # diff --git a/cachegrind/cg_main.c b/cachegrind/cg_main.c index 8cdbbe9b3f..d8e476adcb 100644 --- a/cachegrind/cg_main.c +++ b/cachegrind/cg_main.c @@ -5,8 +5,8 @@ /*--------------------------------------------------------------------*/ /* - This file is part of Cachegrind, a Valgrind tool for cache - profiling programs. + This file is part of Cachegrind, a high-precision tracing profiler + built with Valgrind. Copyright (C) 2002-2017 Nicholas Nethercote njn@valgrind.org @@ -1786,7 +1786,7 @@ static void cg_pre_clo_init(void) { VG_(details_name) ("Cachegrind"); VG_(details_version) (NULL); - VG_(details_description) ("a cache and branch-prediction profiler"); + VG_(details_description) ("a high-precision tracing profiler"); VG_(details_copyright_author)( "Copyright (C) 2002-2017, and GNU GPL'd, by Nicholas Nethercote et al."); VG_(details_bug_reports_to) (VG_BUGS_TO); diff --git a/cachegrind/cg_merge.in b/cachegrind/cg_merge.in index 7c385b4c8e..1201114ded 100755 --- a/cachegrind/cg_merge.in +++ b/cachegrind/cg_merge.in @@ -5,26 +5,26 @@ # --- Cachegrind's merger. cg_merge.in --- # -------------------------------------------------------------------- -# This file is part of Cachegrind, a Valgrind tool for cache -# profiling programs. +# This file is part of Cachegrind, a high-precision tracing profiler +# built with Valgrind. # -# Copyright (C) 2002-2023 Nicholas Nethercote -# njn@valgrind.org +# Copyright (C) 2002-2023 Nicholas Nethercote +# njn@valgrind.org # -# 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 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. +# 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, see . +# You should have received a copy of the GNU General Public License +# along with this program; if not, see . # -# The GNU General Public License is contained in the file COPYING. +# The GNU General Public License is contained in the file COPYING. # This script merges Cachegrind output files. # diff --git a/cachegrind/cg_sim.c b/cachegrind/cg_sim.c index c8f0a8fc26..c2ea3791b9 100644 --- a/cachegrind/cg_sim.c +++ b/cachegrind/cg_sim.c @@ -4,8 +4,8 @@ /*--------------------------------------------------------------------*/ /* - This file is part of Cachegrind, a Valgrind tool for cache - profiling programs. + This file is part of Cachegrind, a high-precision tracing profiler + built with Valgrind. Copyright (C) 2002-2017 Nicholas Nethercote njn@valgrind.org diff --git a/cachegrind/tests/filter_stderr b/cachegrind/tests/filter_stderr index a0ae89968b..703d807b64 100755 --- a/cachegrind/tests/filter_stderr +++ b/cachegrind/tests/filter_stderr @@ -5,7 +5,7 @@ dir=`dirname $0` $dir/../../tests/filter_stderr_basic | # Remove "Cachegrind, ..." line and the following copyright line. -sed "/^Cachegrind, a cache and branch-prediction profiler/ , /./ d" | +sed "/^Cachegrind, a high-precision tracing profiler/ , /./ d" | # Remove numbers from I/D/LL "refs:" lines perl -p -e 's/((I|D|LL) *refs:)[ 0-9,()+rdw]*$/\1/' |