From mboxrd@z Thu Jan 1 00:00:00 1970 From: Francis Moreau Subject: how to get a kernel callgraph starting from a syscall Date: Thu, 21 Apr 2011 09:46:49 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mail-px0-f179.google.com ([209.85.212.179]:33930 "EHLO mail-px0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753006Ab1DUHqt (ORCPT ); Thu, 21 Apr 2011 03:46:49 -0400 Received: by pxi2 with SMTP id 2so1135138pxi.10 for ; Thu, 21 Apr 2011 00:46:49 -0700 (PDT) Sender: linux-perf-users-owner@vger.kernel.org List-ID: To: linux-perf-users@vger.kernel.org Hello, Sorry if the question is dumb but I'm a bit lost about this. I know that ftrace exists but I think that perf can do this too: I have a userspace application which is calling a libc C function (read) which ends up doing a sys_read. For the sys_read, I'd like to see what's happening in the kernel by displaying the call graph. Can perf do that ? If so, would it be possible to point me out the perf command to use ? Thanks -- Francis