| To: | Deng-Cheng Zhu <dengcheng.zhu@gmail.com> |
|---|---|
| Subject: | Re: [PATCH v5 03/12] MIPS: add support for software performance events |
| From: | David Daney <david.s.daney@gmail.com> |
| Date: | Thu, 27 May 2010 15:15:22 -0700 |
| Cc: | linux-mips@linux-mips.org, ralf@linux-mips.org, a.p.zijlstra@chello.nl, paulus@samba.org, mingo@elte.hu, acme@redhat.com, jamie.iles@picochip.com, will.deacon@arm.com |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=n3KTv2ECTDuR/f7n/77/dAEifeK4+DOlEcblBOY4SmE=; b=Uc1ivRPpyCIIzkTFNu5Z6QQ2M8YJSPxC8KoAfLOEBIL5Ougzn+Q2jqbLBKm/UdSpAn VnlLzPKCxfMqX8uOaEqyc25+RsRhzsTJhlnAwxEbA0zf0nUmQAsFS8hzqnDZSS2s21py VfNhpUmk3Mvrw3mddK5QbSUJYVUHlmJpYRzaI= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=awxV3+2HUBgh/ZqeorreDK2LY8cy58Wl7syXu5DXDKsOyvMgZaebsZ7TF4S5tN/U+l KH2LvJUDlzQlIiviS8xVIUbEiRYA0Ujnl9hKsWy9Dsz8e7eXBv4V+ucE3xmyH8sDVrbr 8/Zlr4RlZ7H91ORBPQ9Orszmsaun7Q/kUW7fc= |
| In-reply-to: | <1274965420-5091-4-git-send-email-dengcheng.zhu@gmail.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1274965420-5091-1-git-send-email-dengcheng.zhu@gmail.com> <1274965420-5091-4-git-send-email-dengcheng.zhu@gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4 |
On 05/27/2010 06:03 AM, Deng-Cheng Zhu wrote: Software events are required as part of the measurable stuff by the Linux performance counter subsystem. Here is the list of events added by this patch: PERF_COUNT_SW_PAGE_FAULTS PERF_COUNT_SW_PAGE_FAULTS_MIN PERF_COUNT_SW_PAGE_FAULTS_MAJ PERF_COUNT_SW_ALIGNMENT_FAULTS PERF_COUNT_SW_EMULATION_FAULTS Signed-off-by: Deng-Cheng Zhu<dengcheng.zhu@gmail.com> Acked-by: David Daney <ddaney@caviumnetworks.com> --- arch/mips/Kconfig | 2 ++ arch/mips/kernel/traps.c | 18 +++++++++++++++--- arch/mips/kernel/unaligned.c | 5 +++++ arch/mips/math-emu/cp1emu.c | 3 +++ arch/mips/mm/fault.c | 11 +++++++++-- 5 files changed, 34 insertions(+), 5 deletions(-) [...] |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH v5 02/12] MIPS: use generic atomic64 in non-64bit kernels, David Daney |
|---|---|
| Next by Date: | Re: Cross compiling MIPS kernel under x86, Dmitri Vorobiev |
| Previous by Thread: | [PATCH v5 03/12] MIPS: add support for software performance events, Deng-Cheng Zhu |
| Next by Thread: | [PATCH v5 04/12] MIPS: add support for hardware performance events (skeleton), Deng-Cheng Zhu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |