[Linuxppc-users] function_graph feature or its alternatives

George Chochia chochia at us.ibm.com
Thu Jul 19 04:34:09 AEST 2018


Hello,

The CONFIG_FUNCTION_GRAPH_TRACER option is not enabled in the 4.14.0 
ppc64le kernel configuration file. 
Because of that the function_graph tracer is not available for performance 
analysis on customer systems.

#cat /sys/kernel/tracing/available_tracers
blk wakeup_dl wakeup_rt wakeup function nop

function_graph  tracer reports a function overhead. Is there an 
alternative for it?

# tracer: function_graph
#
# CPU  DURATION                  FUNCTION CALLS
# |     |   |                     |   |   |   |

 0)               |  sys_open() {
 0)               |    do_sys_open() {
 0)               |      getname() {
 0)               |        kmem_cache_alloc() {
 0)   1.382 us    |          __might_sleep();
 0)   2.478 us    |        }
 0)               |        strncpy_from_user() {
 0)               |          might_fault() {
 0)   1.389 us    |            __might_sleep();
 0)   2.553 us    |          }
 0)   3.807 us    |        }
 0)   7.876 us    |      }
 0)               |      alloc_fd() {
 0)   0.668 us    |        _spin_lock();
 0)   0.570 us    |        expand_files();
 0)   0.586 us    |        _spin_unlock();

Regards
-------------------------------------------------------------------------------------
George Chochia 
Cluster Software Performance Analysis
Tel: (845) 433 3852, t/l 293 3852
E-mail: chochia at us.ibm.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-users/attachments/20180718/103c726d/attachment.html>


More information about the Linuxppc-users mailing list