lkml.org 
[lkml]   [2009]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT PULL] tracing: Syscalls trace events + perf support
On Wed, Aug 12, 2009 at 01:03:07PM +0200, Ingo Molnar wrote:
>
> one thing i noticed is that we dont seem to be catching
> compat syscalls properly:


Oh right. While looking at fs/compat.c, it seems most of the
compat syscalls haven't been defined through the SYSCALL_DEFINE
macro.

Grr...

Frederic.



> phoenix:~/linux/linux/tools/perf> perf stat -e
> syscalls:sys_enter_read -e syscalls:sys_enter_write -e
> syscalls:sys_enter_mmap ~/hackbench 10
> Time: 0.236
>
> Performance counter stats for '/home/mingo/hackbench 10':
>
> 0 syscalls:sys_enter_read
> 0 syscalls:sys_enter_write
> 0 syscalls:sys_enter_mmap
>
> 0.270062020 seconds time elapsed
>
> phoenix:~/linux/linux/tools/perf> file ~/hackbench
> /home/mingo/hackbench: ELF 32-bit LSB executable, Intel
> 80386, version 1 (SYSV), dynamically linked (uses shared
> libs), for GNU/Linux 2.2.5, not stripped
> phoenix:~/linux/linux/tools/perf> uname -a
> Linux phoenix 2.6.31-rc5-tip #3 SMP Wed Aug 12 12:50:38 CEST
> 2009 x86_64 x86_64 x86_64 GNU/Linux
>
>
> phoenix:~> perf stat -e syscalls:sys_enter_read -e
> syscalls:sys_enter_write -e syscalls:sys_enter_mmap
> ~/hackbench64 10
> Running with 10*40 (== 400) tasks.
> Time: 0.199
>
> Performance counter stats for '/home/mingo/hackbench64 10':
>
> 400402 syscalls:sys_enter_read
> 400403 syscalls:sys_enter_write
> 12 syscalls:sys_enter_mmap
>
> 0.247919263 seconds time elapsed
>
> phoenix:~> file hackbench64
> hackbench64: ELF 64-bit LSB executable, x86-64, version 1
> (SYSV), dynamically linked (uses shared libs), for GNU/Linux
> 2.6.9, not stripped
>
> Ingo



\
 
 \ /
  Last update: 2009-08-12 13:35    [W:0.181 / U:0.140 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site