Caller / Callee View in Table panel

A new intuitive way to explore the control flow through specific functions in your application.

June 18, 2024

Today, we are excited to introduce the Caller / Callee View in the Table panel. This feature provides the ability to explore functions calling the selected function (callers) and functions called by the selected function (callees).

How to use Caller / Callee View

While in the Table panel, you can open the call view by double-clicking a function in the table. This will open the Caller / Callee View as shown below:

An example Caller / Callee View screenshot showing all stacks that lead to page faults.
An example Caller / Callee View screenshot showing all stacks that lead to page faults.

A few things to note here:

  • The selected function expands to show the callers and callees inline.
  • The highlighted rows above the selected function are the callers of the selected function.
  • The highlighted rows below the selected function are the callees of the selected function.
  • All this info is shown with necessary profile data context like the flat, cumulative time, etc. of the callers and callees that helps you to easily understand the performance impact of the callers and callees.

You can further dig deeper into the callers and callees items by double-clicking on them. i.e., you can double-click on a caller to open the caller / callee view of that function, and similarly for callees.

Here's a quick example of how to find all the control paths that are allocating memory by invoking `malloc`:

A deep dive into how caller/callee view can be used to track all functions that allocate memory invoking `malloc`.

This is a small yet powerful feature to intuitively explore the control flow of specific functions that you are interested in.

We hope you find this feature useful. You can try this feature on Polar Signals Cloud today (try the 14-day free trial if you haven't already) and let us know your feedback on our Discord community.

Discuss:
Sign up for the latest Polar Signals news