login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
July
»
31
Re: [patch 00/19] perfmon2 minimal v3: introduction
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: stephane eranian
Subject:
Re: [patch 00/19] perfmon2 minimal v3: introduction
Date: Wednesday, July 30, 2008 - 5:26 pm
Stephen On Wed, Jul 30, 2008 at 5:21 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
quoted text
> Hi Stephane, > > On Wed, 30 Jul 2008 16:59:34 -0700 "stephane eranian" <eranian@googlemail.com> wrote: >> >> On Mon, Jul 28, 2008 at 11:20 PM, stephane eranian >> <eranian@googlemail.com> wrote: >> >> quite a few of the macros (especially for the dummy (non >> >> CONFIG_PERFMON) versions of functions) should be "static inline" >> >> functions unless they absolutely must be macros. Andrew Morton said it >> >> best - "write in C not C preprocessor". >> >> >> Do you also have a problem with the debug printk statements using macros? > > Not really, they would be a pain to write as C code. >
That's what I am thinking as well!
quoted text
> The advantage of using C code for the dummy versions of things is that we > still get type checking and we eliminate "unused variable" warnings for > parameters of the functions. >
Will do the dummy functions as inline then. --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[patch 00/19] perfmon2 minimal v3: introduction
, eranian
, (Mon Jun 30, 6:13 am)
Re: [patch 00/19] perfmon2 minimal v3: introduction
, Stephen Rothwell
, (Mon Jul 28, 8:47 am)
Re: [patch 00/19] perfmon2 minimal v3: introduction
, stephane eranian
, (Mon Jul 28, 11:20 pm)
Re: [patch 00/19] perfmon2 minimal v3: introduction
, stephane eranian
, (Wed Jul 30, 4:59 pm)
Re: [patch 00/19] perfmon2 minimal v3: introduction
, Stephen Rothwell
, (Wed Jul 30, 5:21 pm)
Re: [patch 00/19] perfmon2 minimal v3: introduction
, stephane eranian
, (Wed Jul 30, 5:26 pm)
Re: [patch 00/19] perfmon2 minimal v3: introduction
, Stephen Rothwell
, (Wed Jul 30, 5:43 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Stephen Smalley
Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Borislav Petkov
drm_vm.c:drm_mmap: possible circular locking dependency detected (was: Re: Linux 2...
Arnd Bergmann
Re: [PATCH] rcu: remove SPARSE_RCU_POINTER
Andy Whitcroft
Re: Why is kslowd accumulating so much CPU time?
git
:
Mike Miller
git message
Wincent Colaiuta
Re: [RFC PATCH] Make the rebase edit mode really end up in an edit state
Scott Chacon
Re: why not TortoiseGit
Michael Boutros
Git - index-pack missing
Johannes Schindelin
Re: [PATCH] Fix install-doc-quick target
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Badalian Vyacheslav
Re: tc filter flow hash question
Sebastian Andrzej Siewior
[PATCH v2] net/core: use ntohs for skb->protocol
Parav Pandit
ip6 route output() and ip_route_output_key() by drivers
Jarek Poplawski
Re: tc filter flow hash question
git-commits-head
:
Linux Kernel Mailing List
mm: fix build on non-mmu machines
Linux Kernel Mailing List
i915: Don't whine when pci_enable_msi() fails.
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
[ARM] 4671/1: ep93xx: remove obsolete gpio_line_* operations
Linux Kernel Mailing List
Staging: rt2870: Removal of kernel_thread() API
openbsd-misc
:
"RALOVICH, Kristóf"
Re: thinkpad windows refund
Kevin
Re: uvm_mapent_alloc: out of static map entries on 4.3 i386
Tony Abernethy
Re: The Atheros story in much fewer words
Nick Holland
Re: Install OpenBSD from USB ?
Daniel Ouellet
sysctl kern.maxproc help needed
Colocation donated by:
Syndicate