From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Henningsson Subject: Re: How to show hda trace events in a self-built kernel? Date: Wed, 23 Apr 2014 10:31:39 +0200 Message-ID: <53577A6B.2060400@canonical.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by alsa0.perex.cz (Postfix) with ESMTP id 2B653261696 for ; Wed, 23 Apr 2014 10:31:45 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: "Lin, Mengdong" , "alsa-devel@alsa-project.org" List-Id: alsa-devel@alsa-project.org 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 =93cat trace=94. 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