[PATCH 2/4] gprof: fix comment typos
Richard Allen
rsaxvc@gmail.com
Sun Feb 9 16:48:59 GMT 2025
Signed-off-by: Richard Allen <rsaxvc@gmail.com>
---
gprof/hist.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gprof/hist.c b/gprof/hist.c
index 36393ef3b68..c87a5de6b1d 100644
--- a/gprof/hist.c
+++ b/gprof/hist.c
@@ -114,7 +114,7 @@ read_histogram_header (histogram *record,
if (first)
{
- /* We don't try to veryfy profrate is the same for all histogram
+ /* We don't try to verify profrate is the same for all histogram
records. If we have two histogram records for the same
address range and profiling samples is done as often
as possible as opposed on timer, then the actual profrate will
@@ -443,7 +443,7 @@ hist_assign_samples_1 (histogram *r)
total_time));
}
-/* Calls 'hist_assign_sampes_1' for all histogram records read so far. */
+/* Calls 'hist_assign_samples_1' for all histogram records read so far. */
void
hist_assign_samples (void)
{
@@ -724,7 +724,7 @@ hist_clip_symbol_address (bfd_vma *p_lowpc, bfd_vma *p_highpc)
*p_highpc = *p_lowpc;
}
-/* Find and return exising histogram record having the same lowpc and
+/* Find and return existing histogram record having the same lowpc and
highpc as passed via the parameters. Return NULL if nothing is found.
The return value is valid until any new histogram is read. */
static histogram *
--
2.39.5
More information about the Binutils
mailing list