Browse code

Add lttng-tools, msr-tools, tiptop and userspace-rcu.

Change-Id: Ie28dd6adb37048e8512f24c60f1d3bfcf5e200c8
Reviewed-on: http://photon-jenkins.eng.vmware.com/173
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: Sharath George

xiaolin-vmware authored on 2015/11/26 04:49:30
Showing 5 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,45 @@
0
+Summary: LTTng is an open source tracing framework for Linux.
1
+Name:    lttng-tools
2
+Version: 2.7.0
3
+Release: 1%{?dist}
4
+License: GPLv2 and LGPLv2
5
+URL: https://lttng.org/download/
6
+Source: %{name}-%{version}.tar.bz2
7
+%define sha1 lttng-tools=c1f23688f13c7db0f65ba7edd070fdb41adec823
8
+Group:      Development/Tools
9
+Vendor:     VMware, Inc.
10
+Distribution:  Photon
11
+
12
+BuildRequires: libxml2-devel
13
+BuildRequires: nss-devel
14
+BuildRequires: m4
15
+BuildRequires: elfutils-devel
16
+BuildRequires: popt-devel
17
+BuildRequires: userspace-rcu
18
+
19
+%description
20
+LTTng is an open source tracing framework for Linux.
21
+
22
+%prep
23
+%setup -q
24
+
25
+%build
26
+./configure \
27
+	--prefix=%{_prefix} \
28
+	--disable-static \
29
+	--disable-lttng-ust
30
+
31
+make %{?_smp_mflags}
32
+
33
+%install
34
+make DESTDIR=%{buildroot} install
35
+
36
+%files
37
+%{_bindir}/*
38
+%{_includedir}/*
39
+%{_lib}/*
40
+%{_datadir}/*
41
+
42
+%changelog
43
+*	Tue Nov 24 2015 Xiaolin Li <xiaolinl@vmware.com> 2.7.0-1
44
+-   Initial build.  First version
0 45
new file mode 100644
... ...
@@ -0,0 +1,39 @@
0
+Summary: Tools to read/write MSR (Model Specific Registers)
1
+Name:    msr-tools
2
+Version: 1.3
3
+Release: 1%{?dist}
4
+License: GPLv2
5
+URL: https://01.org/msr-tools/downloads
6
+Source: %{name}-%{version}.zip
7
+%define sha1 msr-tools=0737f1f039942d7db50635883d9425707831ccea
8
+Group:      Development/Tools
9
+Vendor:     VMware, Inc.
10
+Distribution:  Photon
11
+
12
+BuildRequires: unzip
13
+
14
+%description
15
+MSR Tools project provides utilities to access the processor MSRs and CPU ID directly.
16
+This project is composed of three different user space console applications.
17
+rdmsr – read MSR from any CPU or all CPUs
18
+wrmsr – write values to MSR on any CPU or all CPUs
19
+cpuid – show identification and feature information of any CPU
20
+
21
+%prep
22
+%setup -q -n msr-tools-master
23
+
24
+%build
25
+make %{?_smp_mflags}
26
+
27
+%install
28
+install -D rdmsr %{buildroot}%{_sbindir}/rdmsr
29
+install -D wrmsr %{buildroot}%{_sbindir}/wrmsr
30
+install -D cpuid %{buildroot}%{_sbindir}/msr-cpuid
31
+
32
+%files
33
+%defattr(-,root,root)
34
+%{_sbindir}/*
35
+
36
+%changelog
37
+*	Tue Nov 24 2015 Xiaolin Li <xiaolinl@vmware.com> 2.3-1
38
+-   Initial build.  First version
0 39
new file mode 100644
... ...
@@ -0,0 +1,32 @@
0
+Summary: Display hardware performance counters for Linux tasks
1
+Name:    tiptop
2
+Version: 2.3
3
+Release: 1%{?dist}
4
+License: GPLv2
5
+URL: http://tiptop.gforge.inria.fr/
6
+Source: %{name}-%{version}.tar.gz
7
+%define sha1 tiptop=810e89f17fcbb0b2247b5f473f0a419e5f80faa3
8
+Group:      Development/Tools
9
+Vendor:     VMware, Inc.
10
+Distribution:  Photon
11
+
12
+%description
13
+Hardware performance monitoring counters have recently received a lot of attention. They have been used by diverse communities to understand and improve the quality of computing systems: for example, architects use them to extract application characteristics and propose new hardware mechanisms; compiler writers study how generated code behaves on particular hardware; software developers identify critical regions of their applications and evaluate design choices to select the best performing implementation. We propose that counters be used by all categories of users, in particular non-experts, and we advocate that a few simple metrics derived from these counters are relevant and useful. For example, a low IPC (number of executed instructions per cycle) indicates that the hardware is not performing at its best; a high cache miss ratio can suggest several causes, such as conflicts between processes in a multicore environment.
14
+
15
+%prep
16
+%setup -q
17
+
18
+%build
19
+./configure
20
+make %{?_smp_mflags}
21
+%install
22
+install -D  src/tiptop %{buildroot}%{_bindir}/tiptop
23
+install -D  src/ptiptop %{buildroot}%{_bindir}/ptiptop
24
+
25
+%files
26
+%defattr(-,root,root)
27
+%{_bindir}/*
28
+
29
+%changelog
30
+*	Tue Nov 24 2015 Xiaolin Li <xiaolinl@vmware.com> 2.3-1
31
+-   Initial build.  First version
0 32
new file mode 100644
... ...
@@ -0,0 +1,43 @@
0
+Summary: user space RCU (read-copy-update)
1
+Name:    userspace-rcu
2
+Version: 0.9.1
3
+Release: 1%{?dist}
4
+License: LGPLv2+
5
+URL: LGPLv2+
6
+Source: %{name}-%{version}.tar.bz2
7
+%define sha1 userspace-rcu=ca1b603655c3c5bf5d5b6254117999e3ae5f6751
8
+Group:      Development/Tools
9
+Vendor:     VMware, Inc.
10
+Distribution:  Photon
11
+
12
+BuildRequires: libxml2-devel
13
+BuildRequires: nss-devel
14
+BuildRequires: m4
15
+BuildRequires: elfutils-devel
16
+BuildRequires: popt-devel
17
+
18
+%description
19
+This data synchronization library provides read-side access which scales linearly with the number of cores.
20
+
21
+%prep
22
+%setup -q
23
+
24
+%build
25
+./configure \
26
+	--prefix=%{_prefix} \
27
+	--disable-static
28
+
29
+make %{?_smp_mflags}
30
+
31
+%install
32
+make DESTDIR=%{buildroot} install
33
+
34
+%files
35
+%{_lib}/*
36
+%{_includedir}/*
37
+%{_datadir}/*
38
+
39
+
40
+%changelog
41
+*	Tue Nov 24 2015 Xiaolin Li <xiaolinl@vmware.com> 2.7.0-1
42
+-   Initial build.  First version
0 43
\ No newline at end of file
... ...
@@ -81,6 +81,10 @@
81 81
         "rubygem-nokogiri", 
82 82
         "rubygem-mini_portile",
83 83
         "rubygem-rbvmomi",
84
-        "compat-gdbm"
84
+        "compat-gdbm",
85
+        "tiptop",
86
+        "lttng-tools",
87
+        "userspace-rcu",
88
+        "msr-tools"
85 89
             ]
86 90
 }