Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - SystemProfiler - Address Translation - process to binary binding: (5 Items)
   
SystemProfiler - Address Translation - process to binary binding  
I was testing different versions of a binary that is instrumented with -finstrument-functions.
For each test I did a kernel trace that I wanted to analyse using "Address Translation" feature.
Due to my build and target environment the binary had allways the same name.
So with this I run into the "problem" that I once had completely wrong translations.
I found that this was because the process name and the k-trace name were the same as of a previous run, but binary 
contents had changed.
After clearing Addr.Trans cache things were fine.

But this led me to a thing I already wanted to have in the past.
Currentley Addr.Trans. is only working if the process name is the same as the binary name I have on my host machine.
Why not adding the possibilty to have an explicit mapping, in the way that I can tell the translator use this binary for
 a specific process X, without the need of having equal names?

any suggestions?
/hp
Re: SystemProfiler - Address Translation - process to binary binding  
Funny you should just bring this up, as it has been on my mind too. We've had a few people lately that have had issues 
with Address Translation because of mismatched process/binary name (especially prevalent if you don't disable use unique
 name on the c/c++ launch configuration).

I'm raising a feature request to allow users to map binaries defined in address translation to processes in their trace 
file. We already have a feature request to warn users when they have specified a binary for address translation and no 
matching process is found when they open their trace file.
Re: SystemProfiler - Address Translation - process to binary binding  
Wouldn't it be useful to have an option that when you open a new logfile,
it auto-populates a list of binaries that have address translation possible,
and allows you to vet it's suggested path to the binary?

David Cummings wrote:
> Funny you should just bring this up, as it has been on my mind too. We've had a few people lately that have had issues
 with Address Translation because of mismatched process/binary name (especially prevalent if you don't disable use 
unique name on the c/c++ launch configuration).
> 
> I'm raising a feature request to allow users to map binaries defined in address translation to processes in their 
trace file. We already have a feature request to warn users when they have specified a binary for address translation 
and no matching process is found when they open their trace file.
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post41060
> 

-- 
cburgess@qnx.com
AW: SystemProfiler - Address Translation - process to binary binding  
+1 

>-----Ursprüngliche Nachricht-----
>Von: Colin Burgess [mailto:community-noreply@qnx.com] 
>Gesendet: Freitag, 30. Oktober 2009 15:10
>An: general-ide
>Betreff: Re: SystemProfiler - Address Translation - process to 
>binary binding
>
>Wouldn't it be useful to have an option that when you open a 
>new logfile, it auto-populates a list of binaries that have 
>address translation possible, and allows you to vet it's 
>suggested path to the binary?
>
>David Cummings wrote:
>> Funny you should just bring this up, as it has been on my 
>mind too. We've had a few people lately that have had issues 
>with Address Translation because of mismatched process/binary 
>name (especially prevalent if you don't disable use unique 
>name on the c/c++ launch configuration).
>> 
>> I'm raising a feature request to allow users to map binaries 
>defined in address translation to processes in their trace 
>file. We already have a feature request to warn users when 
>they have specified a binary for address translation and no 
>matching process is found when they open their trace file.
>> 
>> 
>> 
>> _______________________________________________
>> 
>> General
>> http://community.qnx.com/sf/go/post41060
>> 
>
>--
>cburgess@qnx.com
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post41062
>
> 
 
*******************************************
Harman Becker Automotive Systems GmbH
Management Board: Dr. Klaus Blickle (Chairman), Dr. Udo Hüls, Michael Mauser
Chairman of the Supervisory Board: Ansgar Rempp | Domicile: Karlsbad | 
Local Court Mannheim: Register No. 361395

 
*******************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat 
sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail
. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have 
received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the contents in this e-mail is strictly forbidden.
*******************************************
Re: SystemProfiler - Address Translation - process to binary binding  
Definitely. I think we could incorporate both sets of functionality in a single dialog.

It would help to make address translation easier to discover as well. It has improved now that you can set values along 
with your launch configuration, but it's not intuitive to have to dig into the properties of the trace file to tweak 
these values when they aren't set properly for your trace.