Re: -finstrument-functions-exclude-file-list can't work in some case

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

 



Pan ruochen <panruochen@xxxxxxxxx> writes:

> I want to inform gcc to insert
> __cyg_profile_func_enter/__cyg_profile_func_exit callbacks just for
> the functions within
> the file `runtime.c'. As you can see, main.c and generic_ops.c are
> both in the exclude list. gcc still generates
> __cyg_profile_func_enter/__cyg_profile_func_exit for them. And
> /home/prc/linux-2.6/include/linux/pm_runtime.h shall
> match linux/, but __cyg_profile_func_enter/__cyg_profile_func_exit are
> still created.

It does look odd.  It may be a bug.  It is also possible that the
function calls are coming from inlined functions and the linker is
misreporting the location of the reference.  See if you can come up with
a standalone test case.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux