login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
21
Re: [patch 1/4] Linux Kernel Markers - Architecture Independent Code
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Mathieu Desnoyers
Subject:
Re: [patch 1/4] Linux Kernel Markers - Architecture Independent Code
Date: Friday, September 21, 2007 - 6:45 am
* Steven Rostedt (
rostedt@goodmis.org
) wrote:
quoted text
> On Tue, Sep 18, 2007 at 05:13:25PM -0400, Mathieu Desnoyers wrote: > > +/* > > + * Sets the probe callback corresponding to one marker. > > + */ > > +static int set_marker(struct marker_entry **entry, > > + struct __mark_marker *elem) > > +{ > > + int ret; > > + BUG_ON(strcmp((*entry)->name, elem->name) != 0); > > Can you switch this at least to WARN_ON? Killing a system with X > running where the user just sees a freeze is not that nice. But a nasty > message in dmesg is very noticable. >
Sure.
quoted text
> -- Steve > > > + > > + if ((*entry)->format) { > > + if (strcmp((*entry)->format, elem->format) != 0) { > > + printk(KERN_NOTICE > > + "Format mismatch for probe %s " > > + "(%s), marker (%s)\n", > > + (*entry)->name, > > + (*entry)->format, > > + elem->format); > > + return -EPERM; > > + } > > + } else { > > + ret = marker_set_format(entry, elem->format); > > + if (ret) > > + return ret; > > + } > > + elem->call = (*entry)->probe; > > + elem->pdata = (*entry)->pdata; > > + _immediate_set(elem->state, 1); > > + return 0; > > +}
-- Mathieu Desnoyers Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 -
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 1/4] Linux Kernel Markers - Architecture Independen ...
, Mathieu Desnoyers
, (Tue Sep 18, 2:13 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ...
, Mathieu Desnoyers
, (Wed Sep 19, 4:37 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ...
, Frank Ch. Eigler
, (Wed Sep 19, 6:53 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ...
, Denys Vlasenko
, (Wed Sep 19, 10:32 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ...
, Mathieu Desnoyers
, (Wed Sep 19, 11:46 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ...
, Mathieu Desnoyers
, (Wed Sep 19, 11:50 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ...
, Denys Vlasenko
, (Wed Sep 19, 1:32 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ...
, Steven Rostedt
, (Thu Sep 20, 5:58 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ...
, Mathieu Desnoyers
, (Fri Sep 21, 5:58 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ...
, Christoph Hellwig
, (Fri Sep 21, 6:07 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ...
, Frank Ch. Eigler
, (Fri Sep 21, 6:30 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ...
, Mathieu Desnoyers
, (Fri Sep 21, 6:38 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ...
, Mathieu Desnoyers
, (Fri Sep 21, 6:45 am)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ...
, Frank Ch. Eigler
, (Mon Oct 15, 12:41 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ...
, Mathieu Desnoyers
, (Mon Oct 15, 4:12 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ...
, Roland McGrath
, (Mon Oct 15, 4:50 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ...
, Mathieu Desnoyers
, (Thu Oct 25, 12:17 pm)
Re: [patch 1/4] Linux Kernel Markers - Architecture Indepe ...
, Frank Ch. Eigler
, (Fri Oct 26, 7:28 am)
[PATCH] markers: modpost
, Roland McGrath
, (Wed Oct 31, 6:06 pm)
Re: [PATCH] markers: modpost
, Mathieu Desnoyers
, (Wed Oct 31, 7:46 pm)
Re: [PATCH] markers: modpost
, Roland McGrath
, (Thu Nov 1, 2:37 am)
Re: [PATCH] markers: modpost
, Mathieu Desnoyers
, (Thu Nov 1, 4:24 am)
Re: [PATCH] markers: modpost
, David Smith
, (Thu Nov 8, 12:31 pm)
Re: [PATCH] markers: modpost
, Mathieu Desnoyers
, (Thu Nov 8, 12:36 pm)
Re: [PATCH] markers: modpost
, David Smith
, (Thu Nov 8, 12:45 pm)
Re: [PATCH] markers: modpost
, David Smith
, (Fri Nov 9, 9:36 am)
Re: [PATCH] markers: modpost
, Mathieu Desnoyers
, (Sun Nov 11, 4:24 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Uwe Kleine-König
Re: [PATCH v2] ARM: allow, but warn, when issuing ioremap() on RAM
Ingo Molnar
Re: [RFC/RFT PATCH] sched: automated per tty task groups
Josef Bacik
[PATCH] fallocate.2: add FALLOC_FL_PUNCH_HOLE flag definition
Andrew Morton
Re: [PATCH v3 0/4] Introduce hardware spinlock framework
git
:
Stefan Richter
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Bert Wesarg
[TopGit PATCH v3 06/12] list_deps: accept -i/-w
Junio C Hamano
Re: [PATCH] Detached HEAD (experimental)
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Petr Baudis
Re: PPC SHA-1 Updates in "pu"
git-commits-head
:
Linux Kernel Mailing List
libata: disable ATAPI AN by default
Linux Kernel Mailing List
ARM: 5905/1: ARM: Global ASID allocation on SMP
Linux Kernel Mailing List
misc: replace remaining __FUNCTION__ with __func__
Linux Kernel Mailing List
Disallow gcc versions 4.1.{0,1}
Linux Kernel Mailing List
timer: Try to survive timer callback preempt_count leak
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Badalian Vyacheslav
Re: tc filter flow hash question
openbsd-misc
:
Boris Goldberg
Re: HP ProLiant DL320 v. Sun Fire V125
Stuart Henderson
Re: Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD
Karel Kulhavy
Re: No Blob without Puffy
Darrin Chandler
Re: strange output on openbsd C code
Nick Holland
Re: Install OpenBSD from USB ?
Colocation donated by:
Syndicate