timing pageins and pageouts on the mac
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=ILKz4jgWQmpce9WrAkOhGolbkHAc0SUpiyvX/BzSoOs=; b=gHAMBOvXvVufuwNg5GjjGQfw+fJIcFQW29eTCYLkDQy01uWUMNexUNCkM7vDoDwGRn x2cDbPQjB8hR4TclJzTJhMr7IKa8x8TqqYcyr5VwERMAOSxQsaDy2uSvY2njL03KLrzC 1o3QgAQoRCpKwEz84tJ9bZyxUcJ1wHgZhI9cE= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=IBxgMNWidX0EZiCmjMvjXDQv5yO77FvsGHlF7N2C0opn42fGDXpByQ+BQ681NXYoGA h2aeTpgTq17szTHhowXhUeCrzLHpn4qRplAjZGxT7fyrkzf7dzxCjAUeNBuYERbCiJKY 47gmvpVyWQs3Q8RSbln2eotu1Ta+8qTWqpIsE= How can this be done on Leopard? Thanks, Joel --- fastest mac firefox! http://wagerlabs.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Firefox uses mmap to map certain files into memory. This memory is then accessed somehow which results in pageins and pageouts. I would like to time the pageins and pageouts and total these up per mmap-ed file. I see the vminfo provider with a bunch of probes (below) but how do I use it? I'm assuming that the probes below return kernel memory addresses. Should I use mmap probe from the syscall or fbt provider to get hold of kernel memory addresses? --- 19018 vminfo mach_kernel vnode_pagein pgpgin 19030 vminfo mach_kernel vm_page_activate pgfrec 19031 vminfo mach_kernel vm_page_activate pgrec 19033 vminfo mach_kernel vm_pageout swapout 19034 vminfo mach_kernel vm_pageout swapin 19035 vminfo mach_kernel vm_pageout pgswapout 19036 vminfo mach_kernel vm_pageout pgswapin 19037 vminfo mach_kernel vm_pageout execpgout 19038 vminfo mach_kernel vm_pageout execpgin 19039 vminfo mach_kernel vm_pageout execfree 19041 vminfo mach_kernel vm_pageout_continue pgrrun 19049 vminfo mach_kernel vm_fault_page fspgin 19050 vminfo mach_kernel vm_fault_page anonpgin 19051 vminfo mach_kernel vm_fault_page maj_fault 19052 vminfo mach_kernel vm_fault_page pgin 19057 vminfo mach_kernel vm_pageout_scan fsfree 19058 vminfo mach_kernel vm_pageout_scan anonfree 19059 vminfo mach_kernel vm_pageout_scan dfree 19062 vminfo mach_kernel vm_fault_page cow_fault 19063 vminfo mach_kernel vm_pageout_scan scan 19070 vminfo mach_kernel vm_pageout_scan rev This email sent to site_archiver@lists.apple.com
participants (1)
-
Joel Reymont