Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src




To: Joerg Sonnenberger <joerg%bec.de@localhost>

Subject: Re: CVS commit: src

From: Ryo Shimizu <ryo%nerv.org@localhost>

Date: Wed, 27 Oct 2021 11:44:17 +0900


>>   | I don't think per-file profiling is that useful
>> 
>> Nor do I in general.   However, doing routine call counting on mcount
>> (or anything it calls) would simply be absurd.   If you want to
>> know how mant times mcount has been called, you simply sum all the other
>> counters.   (pc sampling, however it is done, detecting mcount is fine).
>
>The existing attribute already does that.

Hmmm, got it.
I'll revert my commit, and fix it to add "__always_inline" to functions
called from mcount().

Thanks,
-- 
ryo shimizu


References:

Re: CVS commit: src
From: Joerg Sonnenberger




Prev by Date: Re: CVS commit: src/sbin/wsconsctl

Next by Date: Re: CVS commit: src/lib/libc/string

Previous by Thread: Re: CVS commit: src

Next by Thread: Re: CVS commit: src/sbin/wsconsctl

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index