This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
>>>>> "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
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |