From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753706AbYIPXOn (ORCPT ); Tue, 16 Sep 2008 19:14:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752317AbYIPXOd (ORCPT ); Tue, 16 Sep 2008 19:14:33 -0400 Received: from wa-out-1112.google.com ([209.85.146.177]:39969 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752281AbYIPXOc (ORCPT ); Tue, 16 Sep 2008 19:14:32 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=hSpiAnEe9ERP2Ri9yAVEbE8XHJExsYMxSd/DoiMzlKmpN4P8VqLXVF8s/e7+85GtUa ZCiKSY8UBT4U2wuBPPQ99oM8SCDn95ZTTvrX5MNcFsJ/vfIDLqXgjfNFeLLA5T0cltYi LE76QHiOOlPR+qT19Y9U8gtqOCgpEGSlslYzo= From: Yinghai Lu To: Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Andrew Morton Cc: linux-kernel@vger.kernel.org, Yinghai Lu Subject: [PATCH 0/5] loglevel=pci:7,acpi:6 support v3 Date: Tue, 16 Sep 2008 16:13:53 -0700 Message-Id: <1221606838-30246-1-git-send-email-yhlu.kernel@gmail.com> X-Mailer: git-send-email 1.5.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org usage: in .h to have #define KERN_PCI "" in .c to have DEFINE_LOGLEVEL_SETUP(pci, KERN_PCI, "pci:"); then could use printk(KERN_DEBUG KERN_PCI fmt, ...); and command line loglevel=pci:8 you can add different printk to different files of one subsys if you like not just one susbsys one tag, and don't need to update kernel.h to add more tags YH