login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
March
»
18
Re: [PATCH] perf_events: fix ordering bug in perf_output_sample()
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Stephane Eranian
Subject:
Re: [PATCH] perf_events: fix ordering bug in perf_output_sample()
Date: Thursday, March 18, 2010 - 2:29 pm
On Thu, Mar 18, 2010 at 7:33 PM, Peter Zijlstra <peterz@infradead.org> wrote:
quoted text
> On Thu, 2010-03-18 at 14:42 +0200, Stephane Eranian wrote: >> In order to parse a sample correctly based on the information >> requested via sample_type, the kernel needs to save each component >> in a known order. There is no type value saved with each component. >> The current convention is that each component is saved according to >> the order in enum perf_event_sample_format. But perf_output_sample() >> was not completely following this convention, thereby making samples >> impossible to parse without internal kernel knowledge. >> >> This patch puts things in the right order. > > NAK, not so actually, its in the order specified in the > PERF_RECORD_SAMPLE comment. >
And why is that order different than the one in the enum? --
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] perf_events: fix ordering bug in perf_output_sample()
, Stephane Eranian
, (Thu Mar 18, 5:42 am)
Re: [PATCH] perf_events: fix ordering bug in perf_output_s ...
, Peter Zijlstra
, (Thu Mar 18, 11:33 am)
Re: [PATCH] perf_events: fix ordering bug in perf_output_s ...
, Stephane Eranian
, (Thu Mar 18, 2:29 pm)
Re: [PATCH] perf_events: fix ordering bug in perf_output_s ...
, Peter Zijlstra
, (Thu Mar 18, 5:14 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 01/75] platform: prefix MODALIAS with "platform:"
stephane eranian
Re: perf_counters issue with PERF_SAMPLE_GROUP
Eric Sandeen
Re: [PATCH] xfs: do not pass unused params to xfs_flush_pages
Daniel Hazelton
Re: x86: 4kstacks default
Mathieu Desnoyers
Re: Linux 2.6.25-rc2
git
:
Johannes Schindelin
[PATCH] fetch: refuse to fetch into the current branch in a non-bare repository
Alex Riesen
Re: git exclude patterns for directory
Andreas Ericsson
Re: why not TortoiseGit
Oliver Kullmann
Re: how to move with history?
Junio C Hamano
Re: [PATCH] http-push: making HTTP push more robust and more user-friendly
linux-netdev
:
Andi Kleen
Re: RFC: Nagle latency tuning
Herbert Xu
Re: Oops in tun: bisected to Limit amount of queued packets per device
gregkh
Patch "IPv6: keep route for tentative address" has been added to the 2.6.34-stable...
Patrick McHardy
Re: [rfc 02/13] [RFC 02/13] netfilter: nf_conntrack_sip: Add callid parser
Paul Gortmaker
[PATCH net-next 09/16] tipc: Relocate trivial link status functions to header file
git-commits-head
:
Linux Kernel Mailing List
sh: Fix compile error by operands(mov.l) in sh3/entry.S
Linux Kernel Mailing List
New device ID for sc92031 [1088:2031]
Linux Kernel Mailing List
tmpfs: depend on shmem
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
Staging: et131x: prune all the debug code
openbsd-misc
:
Andres Salazar
About priorities in /etc/resolv.conf
Tonnerre LOMBARD
Re: bge0: watchdog timeout
Damien Miller
Re: Patching a SSH 'Weakness'
ropers
Re: Real men don't attack straw men
Stuart Henderson
Re: Apache Seg Fault after upgrade to 4.6 stable
Colocation donated by:
Syndicate