[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: Profiling application under Wine
From:       Vincent Povirk <madewokdev () gmail ! com>
Date:       2019-06-28 18:09:01
Message-ID: CAAFPtVRpbXcRuhDo08vrztGdhYBuim=cEZD6ne8PNfKCja+t2g () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


The WINE_MONO_* variables are just the ones we've added. Other MONO_*
variables should generally work the same as in regular Mono. I haven't
worked with Mono's profiling tools so I can't give any further advice.

On Fri, Jun 28, 2019, 11:18 AM Hin-Tak Leung <htl10@users.sourceforge.net>
wrote:

> Hmm, I think wine-mono has been working in 64-bit mode for a while -
> although you have to invoke wine explicitly as wine64 to hook into it . I
> think there are some quirks about how wine and wine-mono interacts, in such
> a way that you cannot do 32-bit + 64-bit switches within the process - i.e.
> you must do 64-bit wine to get at 64-bit wine-mono.
>
> Do you notice any performance difference between using wine-mono and
> dotnet472 64-bit ?
>
> I am going back to wine-mono for your issue, as mono supports setting
> profiling option via environment variables (catering for exactly this use
> case, when mono is running embedded inside another process), and you can
> set WINE_MONO_* variables to pass those along. I am not sure about the
> exact details so you'll need to look up the relevant docs, but I know this
> is possible - mono has a built-in profiler, and it is accessible and turned
> on via environment variables.
>
> --------------------------------------------
> On Tue, 25/6/19, Chambers, Matthew <matt.chambers42@gmail.com> wrote:
>
>  The application requires
>  dotnet472 and 64-bit at that. I actually had to add that
>  verb to winetricks to get our application to work. I'm
>  definitely getting varying mileage! My
>  question is how to profile it with Windows symbols so I can
>  understand why and either help fix it in
>  Wine or possibly avoid the problem from my
>  application code.
>
>
>
>

[Attachment #5 (text/html)]

<div dir="auto"><div>The WINE_MONO_* variables are just the ones we&#39;ve added. \
Other MONO_* variables should generally work the same as in regular Mono. I \
haven&#39;t worked with Mono&#39;s profiling tools so I can&#39;t give any further \
advice.<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun \
28, 2019, 11:18 AM Hin-Tak Leung &lt;<a \
href="mailto:htl10@users.sourceforge.net">htl10@users.sourceforge.net</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hmm, I think wine-mono has been \
working in 64-bit mode for a while - although you have to invoke wine explicitly as \
wine64 to hook into it . I think there are some quirks about how wine and wine-mono \
interacts, in such a way that you cannot do 32-bit + 64-bit switches within the \
process - i.e. you must do 64-bit wine to get at 64-bit wine-mono. <br> <br>
Do you notice any performance difference between using wine-mono and dotnet472 64-bit \
?<br> <br>
I am going back to wine-mono for your issue, as mono supports setting profiling \
option via environment variables (catering for exactly this use case, when mono is \
running embedded inside another process), and you can set WINE_MONO_* variables to \
pass those along. I am not sure about the exact details so you&#39;ll need to look up \
the relevant docs, but I know this is possible - mono has a built-in profiler, and it \
is accessible and turned on via environment variables.<br> <br>
--------------------------------------------<br>
On Tue, 25/6/19, Chambers, Matthew &lt;<a href="mailto:matt.chambers42@gmail.com" \
target="_blank" rel="noreferrer">matt.chambers42@gmail.com</a>&gt; wrote:<br> <br>
  The application requires<br>
  dotnet472 and 64-bit at that. I actually had to add that<br>
  verb to winetricks to get our application to work. I&#39;m<br>
  definitely getting varying mileage! My<br>
  question is how to profile it with Windows symbols so I can<br>
  understand why and either help fix it in <br>
  Wine or possibly avoid the problem from my<br>
  application code.<br>
<br>
<br>
<br>
</blockquote></div></div></div>


[Attachment #6 (text/plain)]




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic