Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932366AbXBPOzy (ORCPT ); Fri, 16 Feb 2007 09:55:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932377AbXBPOzy (ORCPT ); Fri, 16 Feb 2007 09:55:54 -0500 Received: from mtagate1.de.ibm.com ([195.212.29.150]:49418 "EHLO mtagate1.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932366AbXBPOzx (ORCPT ); Fri, 16 Feb 2007 09:55:53 -0500 Date: Fri, 16 Feb 2007 15:57:08 +0100 From: Michael Holzheu To: johnpol@2ka.mipt.ru Cc: akpm@osdl.org, mschwid2@de.ltcfwd.linux.ibm.com, heiko.carstens@de.ibm.com, linux-kernel@vger.kernel.org Subject: Using kevent for event logging? Message-Id: <20070216155708.589cd47a.holzheu2@linux.vnet.ibm.com> Organization: IBM X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 886 Lines: 21 Hallo Evgeniy, On s390 we are looking for a good mechanism to notify userspace about kernel events. Currently such events are handled with printks in most cases. There are automation tools, which want to automatically react on kernel events. To get the event information, these tools are parsing printks, which is not a really good mechanism for that purpose. When I read about kevents, I was wondering, if it could be used to solve this problem. E.g. it would be possible to put an event number into a kevent and provide another interface to get the complete event data. Do you think, that kevent could be used for this purpose? Michael - 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/