This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
echo "Checking required dependencies..." | |
which wget >& /dev/null | |
which parted >& /dev/null | |
which mksquashfs >& /dev/null | |
which unsquashfs >& /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
src/core/initialize.rs | 17 +++++++++++++++++ | |
src/main.rs | 4 ++++ | |
2 files changed, 21 insertions(+) | |
diff --git a/src/core/initialize.rs b/src/core/initialize.rs | |
index c6bed8b..2ea1b2e 100644 | |
--- a/src/core/initialize.rs | |
+++ b/src/core/initialize.rs | |
@@ -92,10 +92,18 @@ impl StackTraceGetter { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From d75537062f1f72b8dc6115f1960d6f56a47c3793 Mon Sep 17 00:00:00 2001 | |
From: Dale Hamel <dale.hamel@shopify.com> | |
Date: Tue, 10 Mar 2020 18:46:03 -0400 | |
Subject: [PATCH] Pull patch onto 1.17.8, drop systemtap specifics | |
--- | |
README | 17 +++++++- | |
auto/make | 43 ++++++++++++++++++ | |
auto/modules | 3 +- | |
auto/options | 11 ++++- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
usdt::memcached:command__get, | |
usdt::memcached:command__set, | |
usdt::memcached:command__add, | |
usdt::memcached:command__replace, | |
usdt::memcached:command__prepend, | |
usdt::memcached:command__append, | |
usdt::memcached:command__cas | |
{ | |
@calls[str(arg1, arg2)]++; | |
@bytes[str(arg1, arg2)]+= arg3; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <sys/inotify.h> | |
#include <sys/time.h> | |
#include <sys/epoll.h> | |
#include <errno.h> | |
#include <linux/memfd.h> | |
#include <sys/mman.h> | |
#include <sys/syscall.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <sys/inotify.h> | |
#include <sys/time.h> | |
#include <sys/epoll.h> | |
#include <errno.h> | |
#include <linux/memfd.h> | |
#include <sys/mman.h> | |
#include <sys/syscall.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x | |
set -e | |
KERNEL_VERSION="${KERNEL_VERSION:-$(uname -r)}" | |
kernel_version="$(echo "${KERNEL_VERSION}" | awk -vFS=- '{ print $1 }')" | |
major_version="$(echo "${KERNEL_VERSION}" | awk -vFS=. '{ print $1 }')" | |
apt-get install -y build-essential bc curl flex bison libelf-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- embedded_bcc.orig/src/cc/libbpf/include/linux/types.h 2020-01-08 16:33:31.384052137 +0000 | |
+++ embedded_bcc/src/cc/libbpf/include/linux/types.h 2020-01-08 02:22:36.269082225 +0000 | |
@@ -23,7 +23,7 @@ | |
#ifndef __aligned_u64 | |
# define __aligned_u64 __u64 __attribute__((aligned(8))) | |
#endif | |
- | |
+typedef unsigned __bitwise __poll_t; | |
struct list_head { | |
struct list_head *next, *prev; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: src/embedded_libelf/lib/Makefile.in | |
=================================================================== | |
--- src.orig/embedded_libelf/lib/Makefile.in | |
+++ src/embedded_libelf/lib/Makefile.in | |
@@ -330,9 +330,9 @@ ARFLAGS = cr | |
# Use strict fallthrough. Only __attribute__((fallthrough)) will prevent the | |
# warning | |
-@HAVE_IMPLICIT_FALLTHROUGH_WARNING_TRUE@IMPLICIT_FALLTHROUGH_WARNING = -Wimplicit-fallthrough=5 | |
+@HAVE_IMPLICIT_FALLTHROUGH_WARNING_TRUE@IMPLICIT_FALLTHROUGH_WARNING = -Wimplicit-fallthrough |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -Naur argp_sources/gllib/argp.h argp_sources/gllib/argp.h.new | |
--- argp_sources/gllib/argp.h 2019-02-19 20:38:53.000000000 +0000 | |
+++ argp_sources/gllib/argp.h.new 2020-01-08 16:21:42.843277973 +0000 | |
@@ -19,6 +19,17 @@ | |
#ifndef _ARGP_H | |
#define _ARGP_H | |
+#ifndef ARGP_EI | |
+# define ARGP_EI inline | |
+#endif |
NewerOlder