History log of /haiku/src/bin/debug/profile/SharedImage.cpp
Revision Date Author Comments
# 4de612c9 05-Jul-2019 Murai Takashi <tmurai01@gmail.com>

bin/debug/profile: Fix -Wformat=

Change-Id: I94f9e4e68b75a7b84883d1bb7fe3f4e0aa7c6b8a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1563
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 196ab88d 30-Apr-2013 Rene Gollent <anevilyak@gmail.com>

Extend debug_create_symbol_lookup_context().

- debug_create_symbol_lookup_context() now takes an image ID
parameter that can optionally be used to restrict the symbols
it gathers to only those of the targeted image rather than the
entire team, allowing for significantly more lightweight usage
when the desired image is known. The previous behavior can still
be obtained if desired by passing -1 as said ID.

- Adjust callers.


# 62ffe418 31-Jul-2010 Rene Gollent <anevilyak@gmail.com>

Don't free the symbol iterator on error here since the callers already do so, leading to a double free in such a case. Fixes CID 2008.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37827 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 24a9c1bb 20-Jul-2009 Axel Dörfler <axeld@pinc-software.de>

* Added option "-r, --recorded" to profile: this will now retrieve the kernel
profile data area, and evaluate its data - it doesn't produce any output yet,
though.
* _user_system_profiler_recorded() now also makes sure the userland app can read
from the buffer area.
* Fixed leak in SharedImage::Init().
* Made the symbol retriever more smart when it deals with kernel images; if the
image ID is no longer available, it will now use the path based image symbol
iterator (and also adds the boot kernel path, in case the module don't have
one).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31653 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7d7de072 20-Jul-2009 Axel Dörfler <axeld@pinc-software.de>

* Fixed a crashing bug in case creating the image symbol iterator failed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31651 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a0320c16 15-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Darn, should have been part of r30170 already.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30173 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 196ab88d06ca479b6d6ab2ab974c1dd0c899a088 30-Apr-2013 Rene Gollent <anevilyak@gmail.com>

Extend debug_create_symbol_lookup_context().

- debug_create_symbol_lookup_context() now takes an image ID
parameter that can optionally be used to restrict the symbols
it gathers to only those of the targeted image rather than the
entire team, allowing for significantly more lightweight usage
when the desired image is known. The previous behavior can still
be obtained if desired by passing -1 as said ID.

- Adjust callers.


# 62ffe4183142ac37b22938fb026a687c4120eff0 31-Jul-2010 Rene Gollent <anevilyak@gmail.com>

Don't free the symbol iterator on error here since the callers already do so, leading to a double free in such a case. Fixes CID 2008.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37827 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 24a9c1bbba752056902b93c3a79997b6972030e2 20-Jul-2009 Axel Dörfler <axeld@pinc-software.de>

* Added option "-r, --recorded" to profile: this will now retrieve the kernel
profile data area, and evaluate its data - it doesn't produce any output yet,
though.
* _user_system_profiler_recorded() now also makes sure the userland app can read
from the buffer area.
* Fixed leak in SharedImage::Init().
* Made the symbol retriever more smart when it deals with kernel images; if the
image ID is no longer available, it will now use the path based image symbol
iterator (and also adds the boot kernel path, in case the module don't have
one).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31653 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7d7de072af2318450eaf85eb67c27121a40b0fa4 20-Jul-2009 Axel Dörfler <axeld@pinc-software.de>

* Fixed a crashing bug in case creating the image symbol iterator failed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31651 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a0320c161dfcfd5fcfcd5c79c56e534d19b897f4 15-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Darn, should have been part of r30170 already.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30173 a95241bf-73f2-0310-859d-f6bbb57e9c96