From: sheetals@codeaurora.org (Sheetal Sahasrabudhe)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 2/3] [ARM] perfevents: Add support for Scorpion performance monitors
Date: Tue, 15 Mar 2011 08:58:31 -0700 (PDT) [thread overview]
Message-ID: <cabe5c85f32b7eb41504225acfcc87df.squirrel@www.codeaurora.org> (raw)
In-Reply-To: <4D7EC274.4020407@codeaurora.org>
Hi Will/Jean,
On Mon, March 14, 2011 6:35 pm, Bryan Huntsman wrote:
> On 03/09/2011 09:16 AM, Sheetal Sahasrabudhe wrote:
>> This commit adds support for performance monitors provided by
>> Qualcomm Scorpion and ScorpionMP processor to perfevents.
>>
>> Signed-off-by: Sheetal Sahasrabudhe <sheetals@codeaurora.org>
>> Reviewed-by: Jean Pihet <j-pihet@ti.com>
>> Reviewed-by: Will Deacon <will.deacon@arm.com>
>> ---
>> arch/arm/include/asm/perf_event.h | 2 +
>> arch/arm/kernel/perf_event.c | 11 +
>> arch/arm/kernel/perf_event_msm.c | 679 +++++++++++++++++++++++++++++++++++++
>> 3 files changed, 692 insertions(+), 0 deletions(-)
>> create mode 100644 arch/arm/kernel/perf_event_msm.c
>>
>
> ...
>
>> diff --git a/arch/arm/kernel/perf_event_msm.c b/arch/arm/kernel/perf_event_msm.c
>> new file mode 100644
>> index 0000000..4e42f27
>> --- /dev/null
>> +++ b/arch/arm/kernel/perf_event_msm.c
[...]
>> +#include <asm/vfp.h>
>> +#include <asm/system.h>
>> +#include "../vfp/vfpinstr.h"
>
> Sorry I didn't see this earlier. Is there another way to get the info
> you need that wouldn't use a relative include path? If the info from
> vfpinstr.h is now needed outside of the vfp directory, can it be moved
> to a common header instead? Thanks.
>
> - Bryan
I see other files under vfp that include this header.
So if we were to implement Bryan's suggestion, I think a separate patch that moves the header and updates all the depdendencies would be more appropriate.
Are you okay with the relative include path for vfpinstr.h in this patch for now or would you want to see an update to move vfpinstr.h to include/asm?.
Thanks,
Sheetal
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
next prev parent reply other threads:[~2011-03-15 15:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-08 18:25 [PATCH v3 2/3] [ARM] perfevents: Add support for Scorpion performance monitors Sheetal Sahasrabudhe
2011-03-09 8:44 ` Jean Pihet
2011-03-09 15:46 ` Sheetal Sahasrabudhe
2011-03-09 16:03 ` Jean Pihet
2011-03-09 17:16 ` [PATCH v4 " Sheetal Sahasrabudhe
2011-03-15 1:35 ` Bryan Huntsman
2011-03-15 15:58 ` Sheetal Sahasrabudhe [this message]
2011-03-16 9:13 ` Jean Pihet
2011-03-25 18:21 ` Neil Leeder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cabe5c85f32b7eb41504225acfcc87df.squirrel@www.codeaurora.org \
--to=sheetals@codeaurora.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).