summaryrefslogtreecommitdiffstats
path: root/scripts/generate-perf-man.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/generate-perf-man.sh')
-rwxr-xr-xscripts/generate-perf-man.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/generate-perf-man.sh b/scripts/generate-perf-man.sh
index 27691fafd..f5332ad86 100755
--- a/scripts/generate-perf-man.sh
+++ b/scripts/generate-perf-man.sh
@@ -47,8 +47,12 @@ if [ ! -z "$@" ]; then
esac
done
fi
-cd tools/perf/Documentation/
+cd tools/kvm/kvm_stat/
+make man
+mv kvm_stat.1 ../../perf/Documentation
+cd ../../perf/Documentation/
make
tar -czvf $BASEDIR/perf-man-${KERNEL_VERSION}.${KERNEL_PATCHLEVEL}.tar.gz *.1
make clean
+rm kvm_stat.1
popd