All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Henningsson <david.henningsson@canonical.com>
To: "Lin, Mengdong" <mengdong.lin@intel.com>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: How to show hda trace events in a self-built kernel?
Date: Wed, 23 Apr 2014 10:31:39 +0200	[thread overview]
Message-ID: <53577A6B.2060400@canonical.com> (raw)
In-Reply-To: <F46914AEC2663F4A9BB62374E5EEF8F82B3F4357@SHSMSX101.ccr.corp.intel.com>


On 2014-04-23 09:35, Lin, Mengdong wrote:
> Hi,
>
> How to show hda trace events in a self-built kernel?
>
> With a self-built kernel under Ubuntu 13.04 or 13.10, I enabled hda
> trace events by
>
> #cd /sys/kernel/debug/tracing/
>
> #echo 1 > events/hda/enable
>
> #echo 1 > events/had_intel/enable
>
> Then I check the codec proc entry and run “cat trace”. But I got no
> output of the hda trace events.

Did you forget to do:
# echo 1 > tracing_on

You might also want to set current_tracer to something.

Otherwise I don't know what the problem can be.

-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic

  reply	other threads:[~2014-04-23  8:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-23  7:35 How to show hda trace events in a self-built kernel? Lin, Mengdong
2014-04-23  8:31 ` David Henningsson [this message]
2014-04-23  9:21   ` Lin, Mengdong

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=53577A6B.2060400@canonical.com \
    --to=david.henningsson@canonical.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=mengdong.lin@intel.com \
    /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.