[arch-commits] Commit in systemtap/repos (12 files)

Christian Rebischke shibumi at archlinux.org
Sat Aug 26 13:27:25 UTC 2017


    Date: Saturday, August 26, 2017 @ 13:27:24
  Author: shibumi
Revision: 253997

archrelease: copy trunk to community-i686, community-x86_64

Added:
  systemtap/repos/community-i686/PKGBUILD
    (from rev 253996, systemtap/trunk/PKGBUILD)
  systemtap/repos/community-i686/access_process_vm_h.patch
    (from rev 253996, systemtap/trunk/access_process_vm_h.patch)
  systemtap/repos/community-i686/stp_utrace_c.patch
    (from rev 253996, systemtap/trunk/stp_utrace_c.patch)
  systemtap/repos/community-i686/systemtap.install
    (from rev 253996, systemtap/trunk/systemtap.install)
  systemtap/repos/community-x86_64/PKGBUILD
    (from rev 253996, systemtap/trunk/PKGBUILD)
  systemtap/repos/community-x86_64/access_process_vm_h.patch
    (from rev 253996, systemtap/trunk/access_process_vm_h.patch)
  systemtap/repos/community-x86_64/stp_utrace_c.patch
    (from rev 253996, systemtap/trunk/stp_utrace_c.patch)
  systemtap/repos/community-x86_64/systemtap.install
    (from rev 253996, systemtap/trunk/systemtap.install)
Deleted:
  systemtap/repos/community-i686/PKGBUILD
  systemtap/repos/community-i686/systemtap.install
  systemtap/repos/community-x86_64/PKGBUILD
  systemtap/repos/community-x86_64/systemtap.install

--------------------------------------------+
 /PKGBUILD                                  |  102 +++++++++++++++++++++++++++
 /systemtap.install                         |    8 ++
 community-i686/PKGBUILD                    |   42 -----------
 community-i686/access_process_vm_h.patch   |   10 ++
 community-i686/stp_utrace_c.patch          |   11 ++
 community-i686/systemtap.install           |    4 -
 community-x86_64/PKGBUILD                  |   42 -----------
 community-x86_64/access_process_vm_h.patch |   10 ++
 community-x86_64/stp_utrace_c.patch        |   11 ++
 community-x86_64/systemtap.install         |    4 -
 10 files changed, 152 insertions(+), 92 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-08-26 13:27:06 UTC (rev 253996)
+++ community-i686/PKGBUILD	2017-08-26 13:27:24 UTC (rev 253997)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer : Christian Rebischke <Chris.Rebischke at archlinux.org>
-# Contributor:dront78 <dront78 at gmail.com>
-pkgname=systemtap
-pkgver=3.1
-pkgrel=4
-pkgdesc="provides infrastructure to simplify the gathering of information about the running system."
-url="http://sourceware.org/systemtap/"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('elfutils' 'nss' 'python2')
-makedepends=('python2-setuptools' 'xmlto')
-optdepends=('sqlite3: for storing results in a database')
-source=("${pkgname}-${pkgver}.tar.gz::https://sourceware.org/systemtap/ftp/releases/${pkgname}-${pkgver}.tar.gz"
-        "${pkgname}-${pkgver}.tar.gz.asc::https://sourceware.org/systemtap/ftp/releases/${pkgname}-${pkgver}.tar.gz.asc")
-sha512sums=('07b322d5745f570296e287db80f1e370da87eb65073815cf24d532827900453c1cb9ee74b5496b4f3919d176b960caad4479edc2dadf27b5c58898fb7398264d'
-            'SKIP')
-install='systemtap.install'
-validpgpkeys=('5D38116FA4D3A7CC77E378D37E83610126DCC2E8')
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --libexecdir=/usr/lib/"${pkgname}" \
-    --libdir=/usr/lib/"${pkgname}" \
-    --mandir=/usr/share/man/ \
-    --localstatedir=/var \
-    --enable-pie \
-    --disable-docs \
-    --enable-htmldocs
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-  rmdir "${pkgdir}/var/run/stap-server/"
-  rmdir "${pkgdir}/var/run/"
-}
-

Copied: systemtap/repos/community-i686/PKGBUILD (from rev 253996, systemtap/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-08-26 13:27:24 UTC (rev 253997)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer : Christian Rebischke <Chris.Rebischke at archlinux.org>
+# Contributor:dront78 <dront78 at gmail.com>
+pkgname=systemtap
+pkgver=3.1
+pkgrel=5
+pkgdesc="provides infrastructure to simplify the gathering of information about the running system."
+url="http://sourceware.org/systemtap/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('elfutils' 'nss' 'python2')
+makedepends=('python2-setuptools' 'xmlto')
+optdepends=('sqlite3: for storing results in a database')
+source=("${pkgname}-${pkgver}.tar.gz::https://sourceware.org/systemtap/ftp/releases/${pkgname}-${pkgver}.tar.gz"
+        "${pkgname}-${pkgver}.tar.gz.asc::https://sourceware.org/systemtap/ftp/releases/${pkgname}-${pkgver}.tar.gz.asc"
+        'access_process_vm_h.patch'
+        'stp_utrace_c.patch')
+sha512sums=('07b322d5745f570296e287db80f1e370da87eb65073815cf24d532827900453c1cb9ee74b5496b4f3919d176b960caad4479edc2dadf27b5c58898fb7398264d'
+            'SKIP'
+            'f33d81d2e4d0892cb248e89eb11b76d390f78ef7e50dca8d15e0a868c1a42fb0fc40ea69d6d967ebd65dd7d7a910bf8b2faf31378dc744ef1e13aeb423a2572b'
+            '09fad404170e0b5ba2e889d5081b668aba1802a01ac9c308735f872206180769f3784c2bde27a8b1bd666a410dfdfe05707fb64351008e8141746c85c76ecd92')
+install='systemtap.install'
+validpgpkeys=('5D38116FA4D3A7CC77E378D37E83610126DCC2E8')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  patch -Np1 -i "${srcdir}/access_process_vm_h.patch"
+  patch -Np1 -i "${srcdir}/stp_utrace_c.patch"
+}
+build() {
+  cd "${pkgname}-${pkgver}"
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib/"${pkgname}" \
+    --libdir=/usr/lib/"${pkgname}" \
+    --mandir=/usr/share/man/ \
+    --localstatedir=/var \
+    --enable-pie \
+    --disable-docs \
+    --enable-htmldocs
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  rmdir "${pkgdir}/var/run/stap-server/"
+  rmdir "${pkgdir}/var/run/"
+}
+

Copied: systemtap/repos/community-i686/access_process_vm_h.patch (from rev 253996, systemtap/trunk/access_process_vm_h.patch)
===================================================================
--- community-i686/access_process_vm_h.patch	                        (rev 0)
+++ community-i686/access_process_vm_h.patch	2017-08-26 13:27:24 UTC (rev 253997)
@@ -0,0 +1,10 @@
+--- ./runtime/linux/access_process_vm.h	2017-02-17 18:37:01.000000000 +0100
++++ /usr/share/systemtap/runtime/linux/access_process_vm.h	2017-08-09 11:47:50.332532411 +0200
+@@ -4,6 +4,7 @@
+  * we copied and pasted it here.  Fortunately, everything it calls is exported.
+  */
+ #include <linux/pagemap.h>
++#include <linux/sched/mm.h>
+ #include <asm/cacheflush.h>
+ 
+ static int

Copied: systemtap/repos/community-i686/stp_utrace_c.patch (from rev 253996, systemtap/trunk/stp_utrace_c.patch)
===================================================================
--- community-i686/stp_utrace_c.patch	                        (rev 0)
+++ community-i686/stp_utrace_c.patch	2017-08-26 13:27:24 UTC (rev 253997)
@@ -0,0 +1,11 @@
+--- ./runtime/stp_utrace.c	2017-02-17 18:37:01.000000000 +0100
++++ /usr/share/systemtap/runtime/stp_utrace.c	2017-08-09 11:59:21.542501780 +0200
+@@ -1105,7 +1105,7 @@
+ 		 */
+ 		spin_lock_irq(&target->sighand->siglock);
+ 		if (likely(task_is_stopped(target)))
+-			__set_task_state(target, TASK_TRACED);
++			set_current_state(TASK_TRACED);
+ 		spin_unlock_irq(&target->sighand->siglock);
+ 	} else if (utrace->resume > UTRACE_REPORT) {
+ 		utrace->resume = UTRACE_REPORT;

Deleted: community-i686/systemtap.install
===================================================================
--- community-i686/systemtap.install	2017-08-26 13:27:06 UTC (rev 253996)
+++ community-i686/systemtap.install	2017-08-26 13:27:24 UTC (rev 253997)
@@ -1,4 +0,0 @@
-post_install() {
-  echo "CONFIG_DEBUG_INFO is disabled on default. You need to recompile"
-  echo "the kernel with CONFIG_DEBUG_INFO enabled."
-}

Copied: systemtap/repos/community-i686/systemtap.install (from rev 253996, systemtap/trunk/systemtap.install)
===================================================================
--- community-i686/systemtap.install	                        (rev 0)
+++ community-i686/systemtap.install	2017-08-26 13:27:24 UTC (rev 253997)
@@ -0,0 +1,4 @@
+post_install() {
+  echo "CONFIG_DEBUG_INFO is disabled on default. You need to recompile"
+  echo "the kernel with CONFIG_DEBUG_INFO enabled."
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-08-26 13:27:06 UTC (rev 253996)
+++ community-x86_64/PKGBUILD	2017-08-26 13:27:24 UTC (rev 253997)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer : Christian Rebischke <Chris.Rebischke at archlinux.org>
-# Contributor:dront78 <dront78 at gmail.com>
-pkgname=systemtap
-pkgver=3.1
-pkgrel=4
-pkgdesc="provides infrastructure to simplify the gathering of information about the running system."
-url="http://sourceware.org/systemtap/"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('elfutils' 'nss' 'python2')
-makedepends=('python2-setuptools' 'xmlto')
-optdepends=('sqlite3: for storing results in a database')
-source=("${pkgname}-${pkgver}.tar.gz::https://sourceware.org/systemtap/ftp/releases/${pkgname}-${pkgver}.tar.gz"
-        "${pkgname}-${pkgver}.tar.gz.asc::https://sourceware.org/systemtap/ftp/releases/${pkgname}-${pkgver}.tar.gz.asc")
-sha512sums=('07b322d5745f570296e287db80f1e370da87eb65073815cf24d532827900453c1cb9ee74b5496b4f3919d176b960caad4479edc2dadf27b5c58898fb7398264d'
-            'SKIP')
-install='systemtap.install'
-validpgpkeys=('5D38116FA4D3A7CC77E378D37E83610126DCC2E8')
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --libexecdir=/usr/lib/"${pkgname}" \
-    --libdir=/usr/lib/"${pkgname}" \
-    --mandir=/usr/share/man/ \
-    --localstatedir=/var \
-    --enable-pie \
-    --disable-docs \
-    --enable-htmldocs
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-  rmdir "${pkgdir}/var/run/stap-server/"
-  rmdir "${pkgdir}/var/run/"
-}
-

Copied: systemtap/repos/community-x86_64/PKGBUILD (from rev 253996, systemtap/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-08-26 13:27:24 UTC (rev 253997)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer : Christian Rebischke <Chris.Rebischke at archlinux.org>
+# Contributor:dront78 <dront78 at gmail.com>
+pkgname=systemtap
+pkgver=3.1
+pkgrel=5
+pkgdesc="provides infrastructure to simplify the gathering of information about the running system."
+url="http://sourceware.org/systemtap/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('elfutils' 'nss' 'python2')
+makedepends=('python2-setuptools' 'xmlto')
+optdepends=('sqlite3: for storing results in a database')
+source=("${pkgname}-${pkgver}.tar.gz::https://sourceware.org/systemtap/ftp/releases/${pkgname}-${pkgver}.tar.gz"
+        "${pkgname}-${pkgver}.tar.gz.asc::https://sourceware.org/systemtap/ftp/releases/${pkgname}-${pkgver}.tar.gz.asc"
+        'access_process_vm_h.patch'
+        'stp_utrace_c.patch')
+sha512sums=('07b322d5745f570296e287db80f1e370da87eb65073815cf24d532827900453c1cb9ee74b5496b4f3919d176b960caad4479edc2dadf27b5c58898fb7398264d'
+            'SKIP'
+            'f33d81d2e4d0892cb248e89eb11b76d390f78ef7e50dca8d15e0a868c1a42fb0fc40ea69d6d967ebd65dd7d7a910bf8b2faf31378dc744ef1e13aeb423a2572b'
+            '09fad404170e0b5ba2e889d5081b668aba1802a01ac9c308735f872206180769f3784c2bde27a8b1bd666a410dfdfe05707fb64351008e8141746c85c76ecd92')
+install='systemtap.install'
+validpgpkeys=('5D38116FA4D3A7CC77E378D37E83610126DCC2E8')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  patch -Np1 -i "${srcdir}/access_process_vm_h.patch"
+  patch -Np1 -i "${srcdir}/stp_utrace_c.patch"
+}
+build() {
+  cd "${pkgname}-${pkgver}"
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib/"${pkgname}" \
+    --libdir=/usr/lib/"${pkgname}" \
+    --mandir=/usr/share/man/ \
+    --localstatedir=/var \
+    --enable-pie \
+    --disable-docs \
+    --enable-htmldocs
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  rmdir "${pkgdir}/var/run/stap-server/"
+  rmdir "${pkgdir}/var/run/"
+}
+

Copied: systemtap/repos/community-x86_64/access_process_vm_h.patch (from rev 253996, systemtap/trunk/access_process_vm_h.patch)
===================================================================
--- community-x86_64/access_process_vm_h.patch	                        (rev 0)
+++ community-x86_64/access_process_vm_h.patch	2017-08-26 13:27:24 UTC (rev 253997)
@@ -0,0 +1,10 @@
+--- ./runtime/linux/access_process_vm.h	2017-02-17 18:37:01.000000000 +0100
++++ /usr/share/systemtap/runtime/linux/access_process_vm.h	2017-08-09 11:47:50.332532411 +0200
+@@ -4,6 +4,7 @@
+  * we copied and pasted it here.  Fortunately, everything it calls is exported.
+  */
+ #include <linux/pagemap.h>
++#include <linux/sched/mm.h>
+ #include <asm/cacheflush.h>
+ 
+ static int

Copied: systemtap/repos/community-x86_64/stp_utrace_c.patch (from rev 253996, systemtap/trunk/stp_utrace_c.patch)
===================================================================
--- community-x86_64/stp_utrace_c.patch	                        (rev 0)
+++ community-x86_64/stp_utrace_c.patch	2017-08-26 13:27:24 UTC (rev 253997)
@@ -0,0 +1,11 @@
+--- ./runtime/stp_utrace.c	2017-02-17 18:37:01.000000000 +0100
++++ /usr/share/systemtap/runtime/stp_utrace.c	2017-08-09 11:59:21.542501780 +0200
+@@ -1105,7 +1105,7 @@
+ 		 */
+ 		spin_lock_irq(&target->sighand->siglock);
+ 		if (likely(task_is_stopped(target)))
+-			__set_task_state(target, TASK_TRACED);
++			set_current_state(TASK_TRACED);
+ 		spin_unlock_irq(&target->sighand->siglock);
+ 	} else if (utrace->resume > UTRACE_REPORT) {
+ 		utrace->resume = UTRACE_REPORT;

Deleted: community-x86_64/systemtap.install
===================================================================
--- community-x86_64/systemtap.install	2017-08-26 13:27:06 UTC (rev 253996)
+++ community-x86_64/systemtap.install	2017-08-26 13:27:24 UTC (rev 253997)
@@ -1,4 +0,0 @@
-post_install() {
-  echo "CONFIG_DEBUG_INFO is disabled on default. You need to recompile"
-  echo "the kernel with CONFIG_DEBUG_INFO enabled."
-}

Copied: systemtap/repos/community-x86_64/systemtap.install (from rev 253996, systemtap/trunk/systemtap.install)
===================================================================
--- community-x86_64/systemtap.install	                        (rev 0)
+++ community-x86_64/systemtap.install	2017-08-26 13:27:24 UTC (rev 253997)
@@ -0,0 +1,4 @@
+post_install() {
+  echo "CONFIG_DEBUG_INFO is disabled on default. You need to recompile"
+  echo "the kernel with CONFIG_DEBUG_INFO enabled."
+}



More information about the arch-commits mailing list