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

bage at linutronix.de bage at linutronix.de
Tue Jul 28 22:43:22 CEST 2020


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>
---
 .../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



More information about the elbe-devel mailing list