Re: [PATCH v4 2/3] Support for perf to probe into SDT markers:

From: Hemant Kumar
Date: Wed Oct 30 2013 - 09:30:28 EST


On 10/30/2013 03:35 PM, Masami Hiramatsu wrote:
(2013/10/26 20:16), Frank Ch. Eigler wrote:
Note that a $PATH search excludes shared libraries, which can also
carry <sys/sdt.h> markers. Adding /usr/lib* in more than doubles the
work, then there's /usr/libexec etc.
To find all system libraries, we can use ldconfig.

$ ldconfig --print-cache

shows what dynamic libraries will be loaded. On my own laptop (running
ubuntu13.04) shows ~1000 libs.

Thank you,


Ah! that seems nice... will save a lot of time!

--
Thanks
Hemant Kumar

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/