T.R | Title | User | Personal Name | Date | Lines |
---|
301.1 | A workaround | SMURF::JPW | John P Williams, DUDE, USG, 381-2079 | Thu May 08 1997 06:45 | 22 |
| Hiprof has a -exc flag, but since the failure appears to be
in the common Atom code,I suspect that will not help here.
So, I figure that if this partner's library can be supported
at all, we will need to enhance Atom to do so. I expect the
primary Atom developer will have more insightful words on this
so stay tuned.
The workaround that comes to mind is something that the partner
can do right away. It is to avoid the warnings and/or the assert,
by not asking atom to process the modules it is having trouble with.
These are the options:
- Link the offending modules in a separate shared library,
and then specify "-excobj <offending_lib.so>" on the
atom command line (I think Atom will ignore them then).
- Recompile or recode the offending modules so that there
are no unrecognized instructions or data in the text section
of the object file. For example, compile to use only "ev4"
instructions, or move the data into a different section.
The comments at the assert site in Atom suggest that the
partner's library has an instruction that is expected to
be be a branch but does not have a recognized op-code.
|
301.2 | Undocumented flag ? | CICS03::helen | Helen Pratt | Thu May 08 1997 07:30 | 21 |
|
John,
Thanks for the prompt reply. I can reproduce the customers problem on
my system (I have a slightly earlier build of their software running).
I tried using -exc, but I don't think that bought me much...
However I was fairly certain in some mails I exchanged with Greg Lueck
about a year ago that he described a flag which could be used - I don't
think it's supported as such given that it's not on the man page. Anyway
at the moment I'm giving that a go.
Unfortunately I don't think the work around is going to be viable, although
in many way's it's probably the cleanest, however I will mention it to them
if I get nowhere with the above.
Thanks,
Helen.
|
301.3 | More Info | NNTPD::"[email protected]" | Gail Lyons | Thu May 08 1997 14:11 | 11 |
|
Helen -
I recall Greg Lueck working with you last spring, providing the switch for
you.
I would be interested if that works. It should remove the warning messages,
but I don't know if it will help with the assertion. Please let me know.
Gail Lyons
[Posted by WWW Notes gateway]
|
301.4 | w | CICS03::helen | Helen Pratt | Fri May 09 1997 01:23 | 18 |
|
Gail,
I have managed to instrument my version of the code and the customer
has also managed to instrument theirs. They're working on the list of
libraries to exclude given that they don't want profiling info for everything.
My next concern is actually running the instrumented version of the code.
At the moemnt I haven't managed to get my system into a state to test
the code for various completely unrelated reasons....
In the past I have not managed to get the code to run properly - it'll
be interesting to see if this is different with hiprof.
I'll post a note on how I get on running it!
Regards,
Helen
|