Skip to content

Instantly share code, notes, and snippets.

View nderjung's full-sized avatar
🥑

Alexander Jung nderjung

🥑
View GitHub Profile
From 29f0bfc54b504d6cc5c371afd5623164a8020f09 Mon Sep 17 00:00:00 2001
From: Haris Rotsos <[email protected]>
Date: Mon, 10 Jun 2019 15:55:10 +0000
Subject: [PATCH 2/2] fixing page sharing and making the compilation to work
with the latest clickos update
---
include/xensocket.h | 137 ++++---
stub.mk | 2 +-
xensocket.c | 1078 +++++++++++++++++++++++++++------------------------
From f56ddf297d2ba1d15187df8b4d4ecbd46e9718d9 Mon Sep 17 00:00:00 2001
From: Alexander Jung <[email protected]>
Date: Tue, 25 Jun 2019 18:14:40 +0000
Subject: [PATCH] xs-test: fix asprintf unused result
The XenStore test suite assigns values to a path via a pass-by-reference but
the method asprintf returns a success int which is unsed. This causes builds
to fail via -Werror=unused-result. This patch remedies this by exiting the
xs-test program if on the unlikely occassion it could not assign the variables
to the path format.
@nderjung
nderjung / xentop.c
Last active June 29, 2019 12:11
Modified xentop to produce time series
/* libxenstat: statistics-collection library for Xen
* Copyright (C) International Business Machines Corp., 2005
* Authors: Josh Triplett <[email protected]>
* Judy Fischbach <[email protected]>
* David Hendricks <[email protected]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
@nderjung
nderjung / Makefile
Created December 16, 2020 08:00
Golang Makefile
# SPDX-License-Identifier: BSD-3-Clause
#
# Authors: Alexander Jung <[email protected]>
#
# Copyright (c) 2020, Alexander Jung. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
@nderjung
nderjung / first-commit-of-unikraft-libs.sh
Last active April 30, 2021 07:56
first-commit-of-unikraft-libs.sh
#!/bin/bash
for L in ./unikraft/libs/*; do
DATE=$(git -C L show \
--date=format:'%Y-%m-%d %H:%M:%S' \
--no-patch \
--no-notes \
--format="%cd" \
$(git -C $L rev-list \
--max-parents=0 HEAD \