summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorClemens Gruber <clemens.gruber@pqgruber.com>2016-12-19 21:36:25 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-01-05 17:37:35 +0100
commit4e10d0b727b5d3cbc5779e7083b6f1996245c733 (patch)
treeb81741c85440b0d0d3bb502b421853b12b573b42 /patches
parent5f26dfb957ab980dc78b2728773ee7bf0740a65b (diff)
downloadptxdist-4e10d0b727b5d3cbc5779e7083b6f1996245c733.tar.gz
ptxdist-4e10d0b727b5d3cbc5779e7083b6f1996245c733.tar.xz
systemd-bootchart: bump version 230 -> 231
Also add LICENSE types and hashes. Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches')
-rw-r--r--patches/systemd-bootchart-230/0001-configure-add-option-to-not-build-manpages-14.patch52
-rw-r--r--patches/systemd-bootchart-230/0002-Use-clock_boottime_or_monotonic-everywhere-to-pick-c.patch24
-rw-r--r--patches/systemd-bootchart-230/0003-Don-t-take-time-from-proc-schedstat-for-processes.patch26
-rw-r--r--patches/systemd-bootchart-230/0004-missing-define-GRND_NONBLOCK-if-needed.patch21
l---------patches/systemd-bootchart-230/autogen.sh1
-rw-r--r--patches/systemd-bootchart-230/series7
6 files changed, 0 insertions, 131 deletions
diff --git a/patches/systemd-bootchart-230/0001-configure-add-option-to-not-build-manpages-14.patch b/patches/systemd-bootchart-230/0001-configure-add-option-to-not-build-manpages-14.patch
deleted file mode 100644
index 2c2c9d408..000000000
--- a/patches/systemd-bootchart-230/0001-configure-add-option-to-not-build-manpages-14.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From: yann-morin-1998 <yann.morin.1998@free.fr>
-Date: Tue, 30 Aug 2016 22:52:15 +0200
-Subject: [PATCH] configure: add option to not build manpages (#14)
-
-Man pages are not always needed, especially on embedded systems.
-
-Add a configure option to not build them; by default, build them.
-
-Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
----
- Makefile.am | 5 ++++-
- configure.ac | 10 +++++++++-
- 2 files changed, 13 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index a71f8d8f8d19..e6510d5b3706 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -74,7 +74,10 @@ EXTRA_DIST = \
- MANPAGES = man/bootchart.conf.5 man/systemd-bootchart.1
- MANPAGES_ALIAS = man/bootchart.conf.d.5
-
--man_MANS = $(MANPAGES) $(MANPAGES_ALIAS)
-+if COND_man
-+MAYBE_MANPAGES = $(MANPAGES) $(MANPAGES_ALIAS)
-+endif
-+man_MANS = $(MAYBE_MANPAGES)
-
- man/bootchart.conf.d.5: man/bootchart.conf.5
-
-diff --git a/configure.ac b/configure.ac
-index f8e62d83aea2..90e8b0344c8e 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -167,8 +167,16 @@ AC_ARG_WITH([rootlibdir],
- AC_SUBST([rootprefix], [$with_rootprefix])
- AC_SUBST([rootlibdir], [$with_rootlibdir])
-
-+AC_ARG_ENABLE([man],
-+ AS_HELP_STRING([--diable-man],[Build the man pages (default: yes)]),
-+ [build_man=$enableval],
-+ [build_man=yes])
-+
- AC_PATH_PROG([XSLTPROC], [xsltproc])
--AS_IF([test -z "$XSLTPROC"], AC_MSG_ERROR([*** xsltproc is required for man pages]))
-+AS_IF([test -z "$XSLTPROC" -a "$build_man" = "yes"],
-+ [AC_MSG_ERROR([*** xsltproc is required for man pages])])
-+
-+AM_CONDITIONAL([COND_man],[test "$build_man" = "yes"])
-
- AC_CONFIG_FILES([
- Makefile
diff --git a/patches/systemd-bootchart-230/0002-Use-clock_boottime_or_monotonic-everywhere-to-pick-c.patch b/patches/systemd-bootchart-230/0002-Use-clock_boottime_or_monotonic-everywhere-to-pick-c.patch
deleted file mode 100644
index 2d5f2dc2c..000000000
--- a/patches/systemd-bootchart-230/0002-Use-clock_boottime_or_monotonic-everywhere-to-pick-c.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From: Auke Kok <auke-jan.h.kok@intel.com>
-Date: Tue, 30 Aug 2016 12:41:45 -0700
-Subject: [PATCH] Use `clock_boottime_or_monotonic()` everywhere to pick
- clocksrc.
-
-This clocksrc is used every measurement and should be used
-everywhere, not just in one location.
----
- src/store.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/store.c b/src/store.c
-index 42cb8043ced0..e34b6ae1fcb8 100644
---- a/src/store.c
-+++ b/src/store.c
-@@ -53,7 +53,7 @@ static int skip = 0;
- double gettime_ns(void) {
- struct timespec n;
-
-- clock_gettime(CLOCK_MONOTONIC, &n);
-+ clock_gettime(clock_boottime_or_monotonic(), &n);
-
- return (n.tv_sec + (n.tv_nsec / (double) NSEC_PER_SEC));
- }
diff --git a/patches/systemd-bootchart-230/0003-Don-t-take-time-from-proc-schedstat-for-processes.patch b/patches/systemd-bootchart-230/0003-Don-t-take-time-from-proc-schedstat-for-processes.patch
deleted file mode 100644
index 0a3505875..000000000
--- a/patches/systemd-bootchart-230/0003-Don-t-take-time-from-proc-schedstat-for-processes.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From: Auke Kok <auke-jan.h.kok@intel.com>
-Date: Tue, 30 Aug 2016 13:28:22 -0700
-Subject: [PATCH] Don't take time from /proc/schedstat for processes.
-
-I assume this is a copy-paste error. We shouldn't take the rt and wt
-values here from /proc/schedstat, as they're resulting in entirely
-incorrect values. Instead, the loop code fills them properly with
-the per-process value already, and they can be left blank here
-intentionally. This was the case before in the pre-systemd code tree.
----
- src/store.c | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/src/store.c b/src/store.c
-index e34b6ae1fcb8..c9aa235aeb50 100644
---- a/src/store.c
-+++ b/src/store.c
-@@ -249,8 +249,6 @@ schedstat_next:
-
- /* mark our first sample */
- ps->first = ps->last = ps->sample;
-- ps->sample->runtime = atoll(rt);
-- ps->sample->waittime = atoll(wt);
-
- /* get name, start time */
- if (ps->sched < 0) {
diff --git a/patches/systemd-bootchart-230/0004-missing-define-GRND_NONBLOCK-if-needed.patch b/patches/systemd-bootchart-230/0004-missing-define-GRND_NONBLOCK-if-needed.patch
deleted file mode 100644
index d1888c4b6..000000000
--- a/patches/systemd-bootchart-230/0004-missing-define-GRND_NONBLOCK-if-needed.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From: Michael Olbrich <m.olbrich@pengutronix.de>
-Date: Mon, 5 Sep 2016 14:20:40 +0200
-Subject: [PATCH] missing: define GRND_NONBLOCK if needed
-
-Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
----
- src/missing.h | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/missing.h b/src/missing.h
-index e323d269c98e..a24ad0391ecc 100644
---- a/src/missing.h
-+++ b/src/missing.h
-@@ -55,3 +55,7 @@ static inline int getrandom(void *buffer, size_t count, unsigned flags) {
- return syscall(__NR_getrandom, buffer, count, flags);
- }
- #endif
-+
-+#ifndef GRND_NONBLOCK
-+#define GRND_NONBLOCK 0x0001
-+#endif
diff --git a/patches/systemd-bootchart-230/autogen.sh b/patches/systemd-bootchart-230/autogen.sh
deleted file mode 120000
index 9f8a4cb7d..000000000
--- a/patches/systemd-bootchart-230/autogen.sh
+++ /dev/null
@@ -1 +0,0 @@
-../autogen.sh \ No newline at end of file
diff --git a/patches/systemd-bootchart-230/series b/patches/systemd-bootchart-230/series
deleted file mode 100644
index ff5df53e5..000000000
--- a/patches/systemd-bootchart-230/series
+++ /dev/null
@@ -1,7 +0,0 @@
-# generated by git-ptx-patches
-#tag:base --start-number 1
-0001-configure-add-option-to-not-build-manpages-14.patch
-0002-Use-clock_boottime_or_monotonic-everywhere-to-pick-c.patch
-0003-Don-t-take-time-from-proc-schedstat-for-processes.patch
-0004-missing-define-GRND_NONBLOCK-if-needed.patch
-# 73827f21be31d7a9312a09b004a922c3 - git-ptx-patches magic