From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751616AbdFIOGx (ORCPT ); Fri, 9 Jun 2017 10:06:53 -0400 Received: from mga14.intel.com ([192.55.52.115]:64798 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751527AbdFIOGv (ORCPT ); Fri, 9 Jun 2017 10:06:51 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,317,1493708400"; d="asc'?scan'208";a="1180399497" From: Felipe Balbi To: Steven Rostedt Cc: Alexander Shishkin , Ingo Molnar , Linux USB , linux-kernel@vger.kernel.org, Chunyan Zhang Subject: Re: [PATCH] usb: gadget: functions: add ftrace export over USB In-Reply-To: <20170609100233.414b4b38@gandalf.local.home> References: <20170609061327.17899-1-felipe.balbi@linux.intel.com> <20170609100233.414b4b38@gandalf.local.home> Date: Fri, 09 Jun 2017 17:05:52 +0300 Message-ID: <878tl1qmrj.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Steven Rostedt writes: > On Fri, 9 Jun 2017 09:13:27 +0300 > Felipe Balbi wrote: > >> Allow for ftrace data to be exported over a USB Gadget >> Controller. With this, we have a potentially very fast pipe for >> transmitting ftrace data to a Host PC for further analysis. >>=20 >> Note that in order to decode the data, one needs access to kernel >> symbols in order to convert binary data into function names and what >> not. >>=20 > > Can you please explain what this is in a bit more detail. I have no > idea what you are trying to accomplish. this is just another ftrace export. Just like STM (drivers/hwtracing/stm/ftrace.c), but I'm making use of a USB Peripheral Controller that may be available. > Also, do you mean ftrace as the internal Linux tracer (which should > only be called "ftrace" or sometimes "Ftrace" but not "f_trace" or > "FTrace", that just leads to more confusion. heh, internal linux ftrace ;-) The driver name (f-trace.c) is just to follow the convention of USB functions being name f_*.c or f-*.c. I could call it f-ftrace.c, but seemed unnecessary. > Or is this to do with http://www.ftrace.com/en/gb, a way to trace > produce ;-) heh :-) unlikely =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEElLzh7wn96CXwjh2IzL64meEamQYFAlk6q0AACgkQzL64meEa mQbYdQ/9H0dPIFFFLMdPGRJKWvwtdm/MTwn3IFzelvSTmyWIv+/Bv/RUYb7eXssd /NOQC2UD/xFL74C3h+Ppf3a82mqffUprrPk7cFuj8shxVFEcQr9ecUxP1to5UmJZ XG/TGk2A/XHrZNoFO18sxG+kafjGVljI58U3d3K2hvCgXFmw0dFzpjE1e3gsZcO9 BFg86cANqYLqi+gPghxc6N+u+J+ltbpLSYc4seSBFxsCYBJbDvO4yBnqVtS3nXpE MBUa4T149P3US2nAo6JedcDHuniy+BGdEfUFG3HP4IaeHtIfXy3Rb+kCXcxFXP4Q /X5nU78vZG5wiW5PJV3GrhI7lQS2w8nvrOnlxb3mKhnkKVlS0NY/2AtIbT+XjIlu myUw9H6JafL1qzysRgcMZVmT4Fwdl/NZnJ1gOZkSehZ61CKaPx/FCOJe+X75gDri FuiIT8hEWTw4s9+WbxLASR5rjxxr59cqRZ8X2Xgy3R6j7T1XMHi4JokATqRpihL6 denaotl/YTb5O4Lt+Dmk+9/sWCG0cPIk9SA8P1/lGBbNAmzYGOnFA6pHqKqtn8af rzpHZGZbV4IHonD9FLXxipSS1pDVTu5935W1uJtYvVFKfeCToZWotJhIMUvx4MVC BieGvZOZIWg6lG3sQhyl/WHwroE5TqsZeJpP6I/UV7meLN7s3Zg= =lmQk -----END PGP SIGNATURE----- --=-=-=--