Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
From bdfcddd4f135dc1d4fefb0373d9ebb93ef5110cb Mon Sep 17 00:00:00 2001
|
||||
From: "Steven Rostedt (Red Hat)" <rostedt@goodmis.org>
|
||||
Date: Mon, 7 Dec 2015 16:41:19 -0500
|
||||
Subject: [PATCH] trace-cmd: Fix trace-record.c with non ptrace compile
|
||||
|
||||
Fix ptrace_wait() when NO_PTRACE=1 is defined.
|
||||
|
||||
Status: upstream
|
||||
|
||||
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
||||
[Romain backport to 2.6]
|
||||
Signed-off-by: Romain Naour <romain.naour@gmail.com>
|
||||
---
|
||||
trace-record.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/trace-record.c b/trace-record.c
|
||||
index df82883..f83ec4b 100644
|
||||
--- a/trace-record.c
|
||||
+++ b/trace-record.c
|
||||
@@ -1099,7 +1099,7 @@ static void ptrace_wait(enum trace_type type, int main_pid)
|
||||
(!WIFEXITED(status) || pid != main_pid));
|
||||
}
|
||||
#else
|
||||
-static inline void ptrace_wait(int main_pid) { }
|
||||
+static inline void ptrace_wait(enum trace_type type, int main_pid) { }
|
||||
static inline void enable_ptrace(void) { }
|
||||
static inline void ptrace_attach(int pid) { }
|
||||
|
||||
--
|
||||
2.5.5
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
From c68c868b573acc73e144312326750be2ed96632f Mon Sep 17 00:00:00 2001
|
||||
From: Baruch Siach <baruch@tkos.co.il>
|
||||
Date: Thu, 29 Jun 2017 14:43:19 +0300
|
||||
Subject: [PATCH] trace-listen: add missing header
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
The PATH_MAX macro requires the limits.h header. This fixes build with musl
|
||||
libc:
|
||||
|
||||
.../trace-cmd-trace-cmd-v2.6.1/trace-listen.c: In function ‘make_pid_name’:
|
||||
.../trace-cmd-trace-cmd-v2.6.1/trace-listen.c:167:16: error: ‘PATH_MAX’ undeclared (first use in this function)
|
||||
snprintf(buf, PATH_MAX, VAR_RUN_DIR "/trace-cmd-net.pid");
|
||||
^~~~~~~~
|
||||
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
---
|
||||
Upstream status: https://lkml.org/lkml/2017/6/29/286
|
||||
|
||||
trace-listen.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/trace-listen.c b/trace-listen.c
|
||||
index 17ff9d8c160c..838d6bcf3649 100644
|
||||
--- a/trace-listen.c
|
||||
+++ b/trace-listen.c
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
+#include <limits.h>
|
||||
|
||||
#include "trace-local.h"
|
||||
#include "trace-msg.h"
|
||||
--
|
||||
2.11.0
|
||||
|
||||
@@ -6,10 +6,10 @@ config BR2_PACKAGE_TRACE_CMD
|
||||
help
|
||||
Command line reader for ftrace.
|
||||
|
||||
To use this profiling tool, you should enable ftrace in your kernel
|
||||
configuration. This command collect traces on your target.
|
||||
You can analyse these traces on the target or on the host via the gui
|
||||
"kernel shark"
|
||||
To use this profiling tool, you should enable ftrace in your
|
||||
kernel configuration. This command collect traces on your
|
||||
target. You can analyse these traces on the target or on
|
||||
the host via the gui "kernel shark"
|
||||
|
||||
http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git
|
||||
|
||||
|
||||
2
bsp/buildroot/package/trace-cmd/trace-cmd.hash
Normal file
2
bsp/buildroot/package/trace-cmd/trace-cmd.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 f088534808274f6233fe15130791238fb14ce9bf6e7234f9b3fe6b5a42a1245d trace-cmd-trace-cmd-v2.6.1.tar.gz
|
||||
@@ -4,11 +4,11 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TRACE_CMD_VERSION = trace-cmd-v2.6
|
||||
TRACE_CMD_VERSION = trace-cmd-v2.6.1
|
||||
TRACE_CMD_SITE = $(BR2_KERNEL_MIRROR)/scm/linux/kernel/git/rostedt/trace-cmd.git
|
||||
TRACE_CMD_SITE_METHOD = git
|
||||
TRACE_CMD_INSTALL_STAGING = YES
|
||||
TRACE_CMD_LICENSE = GPLv2, LGPLv2.1
|
||||
TRACE_CMD_LICENSE = GPL-2.0, LGPL-2.1
|
||||
TRACE_CMD_LICENSE_FILES = COPYING COPYING.LIB
|
||||
|
||||
TRACE_CMD_DEPENDENCIES = host-pkgconf
|
||||
|
||||
Reference in New Issue
Block a user