diff options
author | jhb <jhb@FreeBSD.org> | 2008-08-19 21:33:09 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-08-19 21:33:09 +0000 |
commit | c990b20179fd8f3fcbfb695e812666877aa20419 (patch) | |
tree | 1dc18c736ab6b496f42c560e76245b53c597656b /usr.sbin/fdformat | |
parent | 67b02c52de29cfb44eea11a7c46f7bf5de57bf36 (diff) | |
download | FreeBSD-src-c990b20179fd8f3fcbfb695e812666877aa20419.zip FreeBSD-src-c990b20179fd8f3fcbfb695e812666877aa20419.tar.gz |
Use kvm_getcptime(3) to fetch the global CPU time stats from a crashdump
since the 'cp_time' symbol doesn't exist in recent kernels. This fixes
iostat and vmstat on crash dumps.
MFC after: 1 week
Diffstat (limited to 'usr.sbin/fdformat')
0 files changed, 0 insertions, 0 deletions