[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT/LIBBENCHMARK PATCH 3/5] patches: Fix build issues



Hi Vlad, this patch looks good. 

Reviewed-by: Felipe Huici <felipe.huici@xxxxxxxxx>

On 30.09.19, 22:44, "Vlad-Andrei BĂDOIU (78692)" 
<vlad_andrei.badoiu@xxxxxxxxxxxxxxx> wrote:

    Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
    ---
     ...and-sysctlbyname-as-external-symbols.patch | 28 +++++++++++++++++++
     1 file changed, 28 insertions(+)
     create mode 100644 
patches/0001-Add-getloadavg-and-sysctlbyname-as-external-symbols.patch
    
    diff --git 
a/patches/0001-Add-getloadavg-and-sysctlbyname-as-external-symbols.patch 
b/patches/0001-Add-getloadavg-and-sysctlbyname-as-external-symbols.patch
    new file mode 100644
    index 0000000..726069d
    --- /dev/null
    +++ b/patches/0001-Add-getloadavg-and-sysctlbyname-as-external-symbols.patch
    @@ -0,0 +1,28 @@
    +From 0e5193cab3a0120197fe6b1f610e09a9de45fef2 Mon Sep 17 00:00:00 2001
    +From: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
    +Date: Mon, 30 Sep 2019 01:28:41 +0300
    +Subject: [PATCH 1/1] Add getloadavg and sysctlbyname as external symbols
    +
    +Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
    +---
    + src/sysinfo.cc | 4 ++++
    + 1 file changed, 4 insertions(+)
    +
    +diff --git a/src/sysinfo.cc b/src/sysinfo.cc
    +index 2812647..19938e8 100644
    +--- a/src/sysinfo.cc
    ++++ b/src/sysinfo.cc
    +@@ -65,6 +65,10 @@
    + #include "sleep.h"
    + #include "string_util.h"
    + 
    ++export int getloadavg(double loadavg[], int nelem);
    ++export int sysctlbyname(const char *name, void *oldp, size_t *oldlenp,
    ++  const void *newp, size_t newlen);
    ++
    + namespace benchmark {
    + namespace {
    + 
    +-- 
    +2.20.1
    +
    -- 
    2.20.1
    
    

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.