summaryrefslogtreecommitdiff
path: root/src/analyze/systemd-analyze.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/analyze/systemd-analyze.in')
-rwxr-xr-xsrc/analyze/systemd-analyze.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/analyze/systemd-analyze.in b/src/analyze/systemd-analyze.in
index de602be242..26a9f7b57f 100755
--- a/src/analyze/systemd-analyze.in
+++ b/src/analyze/systemd-analyze.in
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!@PYTHON_BINARY@
import sys, os
import argparse
@@ -282,6 +282,7 @@ def plot():
surface.finish()
parser = argparse.ArgumentParser(formatter_class=argparse.RawDescriptionHelpFormatter,
+ version='systemd-analyze @PACKAGE_VERSION@',
description='Process systemd profiling information',
epilog='''\
time - print time spent in the kernel before reaching userspace