struct gmon_cg_arc_record
Jes Sorensen
jes@linuxcare.com
Tue Nov 14 12:14:00 GMT 2000
>>>>> "Ulrich" == Ulrich Drepper <drepper@redhat.com> writes:
Ulrich> Jes Sorensen <jes@linuxcare.com> writes:
>> Comments, oppinions?
Ulrich> I've no opinion. What are Alpha people doing today.
I think they take the hit right now. Though profiling doesn't seem to
work on the Alpha I have here.
One alternative would be to change the following two contructs to use
memcpy() instead:
*(char **) raw_arc[nfilled].from_pc = (char *) frompc;
*(char **) raw_arc[nfilled].self_pc =
(char *)_gmonparam.tos[to_index].selfpc;
That way we preserve the binary format and I don't think the overhead
is noticable on other architectures presuming gcc will catch the fixed
sized memcpy's.
If thats ok with you, I'll cook up a patch straight away.
Jes
More information about the Libc-hacker
mailing list