[elbe-devel] [PATCH] contrib: Update profiling patch

Torben Hohn torben.hohn at linutronix.de
Wed Dec 9 11:45:46 CET 2020


On Tue, Jul 28, 2020 at 10:43:22PM +0200, bage at linutronix.de wrote:
> From: Bastian Germann <bage at linutronix.de>
> 
> Update the memory-profiling-for-elbe-daemon.patch to apply on current
> master, which is Elbe 12.5.
> 
> Signed-off-by: Bastian Germann <bage at linutronix.de>

Reviewed-by: Torben Hohn <torben.hohn at linutronix.de> 

> ---
>  .../memory-profiling-for-elbe-daemon.patch    | 26 +++++++------------
>  1 file changed, 10 insertions(+), 16 deletions(-)
> 
> diff --git a/contrib/debug/memory-profiling-for-elbe-daemon.patch b/contrib/debug/memory-profiling-for-elbe-daemon.patch
> index f6b7b99ec..ba2a121d9 100644
> --- a/contrib/debug/memory-profiling-for-elbe-daemon.patch
> +++ b/contrib/debug/memory-profiling-for-elbe-daemon.patch
> @@ -1,4 +1,6 @@
> -dozer is a memory debugger. see: https://github.com/mgedmin/dozer
> +From: Torben Hohn <torben.hohn at linutronix.de>
> +Date: Mon, 17 Dec 2018 08:55:31 +0100
> +Subject: dozer is a memory debugger. see: https://github.com/mgedmin/dozer
>  
>  Only useful in --devel mode. And its required, that some dependencies
>  are installed manually into the initvm
> @@ -17,29 +19,21 @@ Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
>   1 file changed, 2 insertions(+), 1 deletion(-)
>  
>  diff --git a/elbepack/daemons/soap/__init__.py b/elbepack/daemons/soap/__init__.py
> -index 7b128c78..4e2c62aa 100644
> +index 4ecf6cde9..a0cbaf1e5 100644
>  --- a/elbepack/daemons/soap/__init__.py
>  +++ b/elbepack/daemons/soap/__init__.py
> -@@ -14,6 +14,7 @@ from elbepack.projectmanager import ProjectManager
> +@@ -10,6 +10,7 @@ import sys
> + 
>   from beaker.middleware import SessionMiddleware
>   from cherrypy.process.plugins import SimplePlugin
> - 
>  +from dozer import Dozer
> - try:
> -     from spyne import Application
> -     from spyne.protocol.soap import Soap11
> -@@ -52,5 +53,5 @@ def get_app(engine):
> + 
> + from elbepack.projectmanager import ProjectManager
> + 
> +@@ -53,5 +54,5 @@ def get_app(engine):
>                      in_protocol=Soap11(validator='lxml'),
>                      out_protocol=Soap11())
>   
>  -    wsgi = WsgiApplication(app)
>  +    wsgi = Dozer(WsgiApplication(app))
>       return MySession(wsgi, app.pm, engine)
> --- 
> -2.11.0
> -
> -
> -_______________________________________________
> -elbe-devel mailing list
> -elbe-devel at linutronix.de
> -https://lists.linutronix.de/mailman/listinfo/elbe-devel
> -- 
> 2.27.0
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner


More information about the elbe-devel mailing list