diff options
author | jkoshy <jkoshy@FreeBSD.org> | 2006-04-11 01:15:26 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 2006-04-11 01:15:26 +0000 |
commit | 560017edd75e506598787853758d2966a5336f64 (patch) | |
tree | 81b8879bc038ed71bfb7bcd644c463b5d37f818c | |
parent | 5b564b95be589dc6077a88c2282f49e605bef3f7 (diff) | |
download | FreeBSD-src-560017edd75e506598787853758d2966a5336f64.zip FreeBSD-src-560017edd75e506598787853758d2966a5336f64.tar.gz |
Fix a cut-n-paste bug that crept in.
Reported by: "Pawel Worach" pawel.worach at gmail.com
-rw-r--r-- | sys/dev/hwpmc/hwpmc_mod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/hwpmc/hwpmc_mod.c b/sys/dev/hwpmc/hwpmc_mod.c index 12d742a..1ea0e68 100644 --- a/sys/dev/hwpmc/hwpmc_mod.c +++ b/sys/dev/hwpmc/hwpmc_mod.c @@ -1524,8 +1524,8 @@ pmc_process_munmap(struct thread *td, struct pmckern_map_out *pkm) for (ri = 0; ri < md->pmd_npmc; ri++) if ((pm = pp->pp_pmcs[ri].pp_pmc) != NULL && PMC_IS_SAMPLING_MODE(PMC_TO_MODE(pm))) - pmclog_process_map_out(po, pid, pkm->pm_address, - pkm->pm_address + pkm->pm_size); + pmclog_process_map_out(pm->pm_owner, pid, + pkm->pm_address, pkm->pm_address + pkm->pm_size); } /* |