tools/xentrace/xenalyze: Fix typos detected by lintian
authorIan Jackson <ian.jackson@citrix.com>
Wed, 3 Oct 2018 17:46:47 +0000 (18:46 +0100)
committerHans van Kranenburg <hans@knorrie.org>
Wed, 24 Mar 2021 18:52:15 +0000 (18:52 +0000)
Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
Gbp-Pq: Name 0002-tools-xentrace-xenalyze-Fix-typos-detected-by-lintia.patch

tools/xentrace/xenalyze.c

index eb77787f6f1142098b932d6db60e25a0215c8aa7..b7f4e2bea83da0871d5f58c141cbf26128ab0159 100644 (file)
@@ -9221,7 +9221,7 @@ void process_cpu_change(struct pcpu_info *p) {
 
     /* File sanity check */
     if(p->file_offset != p->next_cpu_change_offset) {
-        fprintf(warn, "Strange, pcpu %d expected offet %llx, actual %llx!\n",
+        fprintf(warn, "Strange, pcpu %d expected offset %llx, actual %llx!\n",
                 p->pid, (unsigned long long)p->next_cpu_change_offset,
                 (unsigned long long)p->file_offset);
     }
@@ -9670,7 +9670,7 @@ ssize_t read_record(struct pcpu_info * p) {
 }
 
 /*
- * This funciton gets called for every record when doing dump.  Try to
+ * This function gets called for every record when doing dump.  Try to
  * make it efficient by changing the minimum amount from the last
  * call.  Do this by:
  * - Keeping track of the last pcpu called, so we can just set that to -
@@ -10626,7 +10626,7 @@ const struct argp_option cmd_opts[] =  {
       .key = OPT_SCATTERPLOT_EXTINT_CYCLES,
       .arg = "vector",
       .group = OPT_GROUP_EXTRA,
-      .doc = "Output a scatterplot of vmexit cycles for external interrupts of the given vector as a funciton of time.", },
+      .doc = "Output a scatterplot of vmexit cycles for external interrupts of the given vector as a function of time.", },
 
     { .name = "scatterplot-unpin-promote",
       .key = OPT_SCATTERPLOT_UNPIN_PROMOTE,
@@ -10753,7 +10753,7 @@ const struct argp_option cmd_opts[] =  {
       .key = OPT_MMIO_ENUMERATION_SKIP_VGA,
       .arg = "[0|1]",
       .group = OPT_GROUP_SUMMARY,
-      .doc = "Control whether we enumerate MMIO accesses to the VGA area, which can be extremly high during boot.  Default: 0", },
+      .doc = "Control whether we enumerate MMIO accesses to the VGA area, which can be extremely high during boot.  Default: 0", },
 
     { .name = "sample-size",
       .key = OPT_SAMPLE_SIZE,