From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754933Ab1HCRP5 (ORCPT ); Wed, 3 Aug 2011 13:15:57 -0400 Received: from s15228384.onlinehome-server.info ([87.106.30.177]:58541 "EHLO mail.x86-64.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754176Ab1HCRPv (ORCPT ); Wed, 3 Aug 2011 13:15:51 -0400 Date: Wed, 3 Aug 2011 19:16:08 +0200 From: Borislav Petkov To: Masami Hiramatsu Cc: Kay Sievers , James Bottomley , Greg KH , Nao Nishijima , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, jcm@redhat.com, dle-develop@lists.sourceforge.net, yrl.pp-manager.tt@hitachi.com, dgilbert@interlog.com, stefanr@s5r6.in-berlin.de, hare@suse.de, Ingo Molnar , Peter Zijlstra , Tony Luck Subject: Re: [RFC PATCH 0/4] Persistent device name using alias name Message-ID: <20110803171608.GA16116@gere.osrc.amd.com> References: <20110708084547.2091.55262.stgit@ltc197.sdl.hitachi.co.jp> <20110708145408.GA2283@kroah.com> <20110708154736.GA7320@kroah.com> <1310140451.3282.85.camel@mulgrave> <4E17F121.3030601@hitachi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E17F121.3030601@hitachi.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 09, 2011 at 03:11:45PM +0900, Masami Hiramatsu wrote: > BTW, I'm also interested in that structured error events, from the long > term view and viewpoint of tracers :) Let me chime in a "mee too" from the HW errors perspective. > I think we could expand current TRACE_EVENT macro to define those > error events. Concerning structure, we can use the format file in debugfs which currently describes the fields of a tracepoint: /sys/kernel/debug/tracing/events/../../format and expand those to generic kernel events. Userspace parses the format and knows exactly at what data it is looking at. Also, the idea is to move that events hierarchy into sysfs so it will be present on every system. Hmm... -- Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551