summaryrefslogtreecommitdiffstats
path: root/sys/dev/hwpmc
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-05-17 15:18:01 +0000
committerpfg <pfg@FreeBSD.org>2016-05-17 15:18:01 +0000
commit99b5a5a4c6c97eba16b34864e162a0c46ec3a2fc (patch)
tree41dc12e0a7f5bf12f62aad1b778dd9d3ac03570f /sys/dev/hwpmc
parente948bacfe5cecb866959cb6f8eae6bd32fd5688b (diff)
downloadFreeBSD-src-99b5a5a4c6c97eba16b34864e162a0c46ec3a2fc.zip
FreeBSD-src-99b5a5a4c6c97eba16b34864e162a0c46ec3a2fc.tar.gz
MFC r298931, r298981, r299375:
Minor spelling fixes in: sys/dev, sys/sys Many of these have user-visible strings.
Diffstat (limited to 'sys/dev/hwpmc')
-rw-r--r--sys/dev/hwpmc/hwpmc_mod.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/hwpmc/hwpmc_mod.c b/sys/dev/hwpmc/hwpmc_mod.c
index c8a8526..753b2f0 100644
--- a/sys/dev/hwpmc/hwpmc_mod.c
+++ b/sys/dev/hwpmc/hwpmc_mod.c
@@ -1128,7 +1128,7 @@ pmc_detach_one_process(struct proc *p, struct pmc *pm, int flags)
pmclog_process_pmcdetach(pm, p->p_pid);
/*
- * If there are no PMCs targetting this process, we remove its
+ * If there are no PMCs targeting this process, we remove its
* descriptor from the target hash table and unset the P_HWPMC
* flag in the struct proc.
*/
@@ -1237,7 +1237,7 @@ pmc_process_csw_in(struct thread *td)
p->p_pid, p->p_comm, pp);
KASSERT(cpu >= 0 && cpu < pmc_cpu_max(),
- ("[pmc,%d] wierd CPU id %d", __LINE__, cpu));
+ ("[pmc,%d] weird CPU id %d", __LINE__, cpu));
pc = pmc_pcpu[cpu];
@@ -1382,7 +1382,7 @@ pmc_process_csw_out(struct thread *td)
p->p_pid, p->p_comm, pp);
KASSERT(cpu >= 0 && cpu < pmc_cpu_max(),
- ("[pmc,%d wierd CPU id %d", __LINE__, cpu));
+ ("[pmc,%d weird CPU id %d", __LINE__, cpu));
pc = pmc_pcpu[cpu];
@@ -1912,7 +1912,7 @@ pmc_hook_handler(struct thread *td, int function, void *arg)
/*
* Log the exec event to all monitoring owners. Skip
- * owners who have already recieved the event because
+ * owners who have already received the event because
* they had system sampling PMCs active.
*/
for (ri = 0; ri < md->pmd_npmc; ri++)
@@ -1938,7 +1938,7 @@ pmc_hook_handler(struct thread *td, int function, void *arg)
/*
* If the newly exec()'ed process has a different credential
* than before, allow it to be the target of a PMC only if
- * the PMC's owner has sufficient priviledge.
+ * the PMC's owner has sufficient privilege.
*/
for (ri = 0; ri < md->pmd_npmc; ri++)
@@ -4424,7 +4424,7 @@ pmc_process_exit(void *arg __unused, struct proc *p)
* process, we would have context switched IN at some prior
* point. However, with PREEMPTION, kernel mode context
* switches may happen any time, so we want to disable a
- * context switch OUT till we get any PMCs targetting this
+ * context switch OUT till we get any PMCs targeting this
* process off the hardware.
*
* We also need to atomically remove this process'
@@ -4527,7 +4527,7 @@ pmc_process_exit(void *arg __unused, struct proc *p)
/*
* Unlink this process from the PMCs that are
- * targetting it. This will send a signal to
+ * targeting it. This will send a signal to
* all PMC owner's whose PMCs are orphaned.
*
* Log PMC value at exit time if requested.
OpenPOWER on IntegriCloud