From: Corey Ashford <cjashfor@linux.vnet.ibm.com>
To: Fabian Korak <fkorak@stud.fh-offenburg.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Perf doesn't accept i915:i915_gem_request_wait_begin as an event
Date: Sun, 07 Mar 2010 11:01:39 -0800 [thread overview]
Message-ID: <4B93F813.9080707@linux.vnet.ibm.com> (raw)
In-Reply-To: <4B93BF8C020000DD00024397@tula.rz.fh-offenburg.de>
On 03/07/2010 06:00 AM, Fabian Korak wrote:
> Hi,
>
> I'm currently trying to get the examples at http://dri.freedesktop.org/wiki/IntelPerformanceTuning to run, however when I try
>
> perf record -f -g -e i915:i915_gem_request_wait_begin -c 1 openarena
>
> I get the message "invalid or unsupported event: 'i915:i915_gem_request_wait_begin' ". It also isn't listed within perf list.
> I'm currently on an up-to-date Fedora Core 14 rawhide with kernel 2.6.34-0.4.rc0.git2. Intel_gpu_tools and libdwarf is installed.
> I talked to a few guys on #xorg-devel yesterday and they told me to install kernel-debuginfo, which didn't change anything.
> They also told me to run
>
> nm /lib/modules/2.6.34-0.4.rc0.git2.fc14.x86_64/kernel/drivers/gpu/drm/i915/i915.ko | grep i915_gem
>
> the output of that can be found here: http://www.pastebin.org/102547
>
> Any help would be appreciated.
>
> thx Fabian Korak
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
I find the example given on that web page quite confusing because perf
currently doesn't have support for arch-dependent events like that,
except via "raw code" events which use the syntax -e r<hex_code>.
I wonder if they locally modified perf to handle those events, and then
forgot that they had made that modification before posting up those
instructions.
I posted a patch last Wednesday that adds arch-dep symbolic event symbol
support which uses an external library (like libpfm4), but so far I
haven't received any feedback on it.
--
Regards,
- Corey
Corey Ashford
Software Engineer
IBM Linux Technology Center, Linux Toolchain
Beaverton, OR
cjashfor@us.ibm.com
next prev parent reply other threads:[~2010-03-07 19:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-07 14:00 Perf doesn't accept i915:i915_gem_request_wait_begin as an event Fabian Korak
2010-03-07 19:01 ` Corey Ashford [this message]
2010-03-07 19:04 ` Arjan van de Ven
2010-03-07 22:52 ` Corey Ashford
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=4B93F813.9080707@linux.vnet.ibm.com \
--to=cjashfor@linux.vnet.ibm.com \
--cc=fkorak@stud.fh-offenburg.de \
--cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.