login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
November
»
17
Re: [patch] trace: Add user-space event tracing/injection
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Pekka Enberg
Subject:
Re: [patch] trace: Add user-space event tracing/injection
Date: Wednesday, November 17, 2010 - 5:33 am
On 11/17/10 2:30 PM, Ingo Molnar wrote:
quoted text
> What does the duration in milliseconds mean there? For things like >> GC and JIT, I want something like: >> >> void gc(void) >> { >> prctl(PR_TASK_PERF_USER_TRACE_START, ...) >> >> collect(); >> >> prctl(PR_TASK_PERF_USER_TRACE_END, ...) >> } >> >> So that it's clear from the tracing output that the VM was busy >> doing GC for n milliseconds. Barring background JIT'ing and >> pauseless GC, I'd also be interested in showing how much time the VM >> was actually _blocking_ the running application (which can happen >> with signals too, btw, for things like accessing data that's lazily >> initialized). > We can add two events: user_event_entry/user_event_exit - or we could use the string > to differentiate, and start it with: > > "entry: ..." > "exit: ..." > > And then the event timestamps (which are absolute and are available) could be used > to calculate the duration of this period. > > 'trace' could even be taught to treat such entry:/exit: strings in a special way, so > that you dont have to write Jato specific trace decoding bits?
Yes, makes sense. I like the API so lets convince others that it's important enough to be merged. :-) Pekka --
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:
[ANNOUNCE] New utility: 'trace'
, Thomas Gleixner
, (Tue Nov 16, 2:04 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Darren Hart
, (Tue Nov 16, 2:27 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Ingo Molnar
, (Tue Nov 16, 2:35 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Ingo Molnar
, (Tue Nov 16, 2:59 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Peter Zijlstra
, (Tue Nov 16, 3:03 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Darren Hart
, (Tue Nov 16, 3:07 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Ingo Molnar
, (Tue Nov 16, 3:08 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Darren Hart
, (Tue Nov 16, 3:09 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Frederic Weisbecker
, (Tue Nov 16, 3:17 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Darren Hart
, (Tue Nov 16, 3:48 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Ted Ts'o
, (Tue Nov 16, 6:37 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Steven Rostedt
, (Tue Nov 16, 6:47 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Ted Ts'o
, (Tue Nov 16, 8:16 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Steven Rostedt
, (Tue Nov 16, 8:34 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Ingo Molnar
, (Wed Nov 17, 1:30 am)
Re: [ANNOUNCE] New utility: 'trace'
, Philipp Marek
, (Wed Nov 17, 2:49 am)
Re: [ANNOUNCE] New utility: 'trace'
, Peter Zijlstra
, (Wed Nov 17, 4:35 am)
[patch] trace: Add user-space event tracing/injection
, Ingo Molnar
, (Wed Nov 17, 5:07 am)
Re: [patch] trace: Add user-space event tracing/injection
, Pekka Enberg
, (Wed Nov 17, 5:17 am)
Re: [patch] trace: Add user-space event tracing/injection
, Ingo Molnar
, (Wed Nov 17, 5:24 am)
Re: [patch] trace: Add user-space event tracing/injection
, Peter Zijlstra
, (Wed Nov 17, 5:29 am)
Re: [patch] trace: Add user-space event tracing/injection
, Pekka Enberg
, (Wed Nov 17, 5:30 am)
Re: [patch] trace: Add user-space event tracing/injection
, Ingo Molnar
, (Wed Nov 17, 5:30 am)
Re: [patch] trace: Add user-space event tracing/injection
, Pekka Enberg
, (Wed Nov 17, 5:33 am)
Re: [patch] trace: Add user-space event tracing/injection
, Peter Zijlstra
, (Wed Nov 17, 5:37 am)
Re: [patch] trace: Add user-space event tracing/injection
, Peter Zijlstra
, (Wed Nov 17, 5:42 am)
Re: [ANNOUNCE] New utility: 'trace'
, Török Edwin
, (Wed Nov 17, 5:47 am)
Re: [ANNOUNCE] New utility: 'trace'
, Peter Zijlstra
, (Wed Nov 17, 5:51 am)
Re: [ANNOUNCE] New utility: 'trace'
, Frederic Weisbecker
, (Wed Nov 17, 5:53 am)
Re: [patch] trace: Add user-space event tracing/injection
, Ingo Molnar
, (Wed Nov 17, 5:58 am)
Re: [ANNOUNCE] New utility: 'trace'
, Peter Zijlstra
, (Wed Nov 17, 6:02 am)
Re: [ANNOUNCE] New utility: 'trace'
, Török Edwin
, (Wed Nov 17, 6:05 am)
Re: [patch] trace: Add user-space event tracing/injection
, Peter Zijlstra
, (Wed Nov 17, 6:09 am)
Re: [ANNOUNCE] New utility: 'trace'
, Peter Zijlstra
, (Wed Nov 17, 6:10 am)
Re: [ANNOUNCE] New utility: 'trace'
, Ingo Molnar
, (Wed Nov 17, 6:10 am)
Re: [patch] trace: Add user-space event tracing/injection
, Frederic Weisbecker
, (Wed Nov 17, 6:10 am)
Re: [ANNOUNCE] New utility: 'trace'
, Ingo Molnar
, (Wed Nov 17, 6:24 am)
Re: [patch] trace: Add user-space event tracing/injection
, Peter Zijlstra
, (Wed Nov 17, 6:31 am)
Re: [ANNOUNCE] New utility: 'trace'
, Frederic Weisbecker
, (Wed Nov 17, 6:32 am)
Re: [patch] trace: Add user-space event tracing/injection
, Frederic Weisbecker
, (Wed Nov 17, 6:33 am)
Re: [patch] trace: Add user-space event tracing/injection
, Ingo Molnar
, (Wed Nov 17, 6:36 am)
Re: [ANNOUNCE] New utility: 'trace'
, Peter Zijlstra
, (Wed Nov 17, 6:36 am)
Re: [ANNOUNCE] New utility: 'trace'
, Peter Zijlstra
, (Wed Nov 17, 6:38 am)
Re: [ANNOUNCE] New utility: 'trace'
, Frederic Weisbecker
, (Wed Nov 17, 6:43 am)
Re: [ANNOUNCE] New utility: 'trace'
, Peter Zijlstra
, (Wed Nov 17, 6:53 am)
Re: [ANNOUNCE] New utility: 'trace'
, Ingo Molnar
, (Wed Nov 17, 7:00 am)
Re: [ANNOUNCE] New utility: 'trace'
, Frederic Weisbecker
, (Wed Nov 17, 7:10 am)
Re: [ANNOUNCE] New utility: 'trace'
, Peter Zijlstra
, (Wed Nov 17, 7:11 am)
Re: [ANNOUNCE] New utility: 'trace'
, Peter Zijlstra
, (Wed Nov 17, 7:18 am)
Re: [ANNOUNCE] New utility: 'trace'
, Thomas Gleixner
, (Wed Nov 17, 7:37 am)
Re: [ANNOUNCE] New utility: 'trace'
, Peter Zijlstra
, (Wed Nov 17, 7:41 am)
Re: [ANNOUNCE] New utility: 'trace'
, Steven Rostedt
, (Wed Nov 17, 8:02 am)
Re: [ANNOUNCE] New utility: 'trace'
, Steven Rostedt
, (Wed Nov 17, 8:10 am)
Re: [ANNOUNCE] New utility: 'trace'
, Tom Zanussi
, (Wed Nov 17, 8:33 am)
Re: [ANNOUNCE] New utility: 'trace'
, Tom Zanussi
, (Wed Nov 17, 8:41 am)
Re: [ANNOUNCE] New utility: 'trace'
, Peter Zijlstra
, (Wed Nov 17, 8:43 am)
Re: [ANNOUNCE] New utility: 'trace'
, Avi Kivity
, (Wed Nov 17, 8:55 am)
Re: [ANNOUNCE] New utility: 'trace'
, Thomas Gleixner
, (Wed Nov 17, 8:58 am)
Re: [ANNOUNCE] New utility: 'trace'
, Peter Zijlstra
, (Wed Nov 17, 8:59 am)
Re: [ANNOUNCE] New utility: 'trace'
, Steven Rostedt
, (Wed Nov 17, 9:04 am)
Re: [ANNOUNCE] New utility: 'trace'
, Avi Kivity
, (Wed Nov 17, 9:08 am)
Re: [ANNOUNCE] New utility: 'trace'
, Steven Rostedt
, (Wed Nov 17, 9:15 am)
Re: [ANNOUNCE] New utility: 'trace'
, Avi Kivity
, (Wed Nov 17, 9:20 am)
Re: [ANNOUNCE] New utility: 'trace'
, Darren Hart
, (Wed Nov 17, 9:49 am)
Re: [ANNOUNCE] New utility: 'trace'
, Ted Ts'o
, (Wed Nov 17, 11:13 am)
Re: [ANNOUNCE] New utility: 'trace'
, Mathieu Desnoyers
, (Wed Nov 17, 11:23 am)
Re: [ANNOUNCE] New utility: 'trace'
, Frederic Weisbecker
, (Wed Nov 17, 11:29 am)
Re: [ANNOUNCE] New utility: 'trace'
, Darren Hart
, (Wed Nov 17, 11:30 am)
Re: [ANNOUNCE] New utility: 'trace'
, Mathieu Desnoyers
, (Wed Nov 17, 11:36 am)
Re: [ANNOUNCE] New utility: 'trace'
, Tom Zanussi
, (Wed Nov 17, 11:53 am)
Re: [ANNOUNCE] New utility: 'trace'
, Bob Copeland
, (Wed Nov 17, 12:00 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Mathieu Desnoyers
, (Wed Nov 17, 12:02 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Steven Rostedt
, (Wed Nov 17, 12:25 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Tom Zanussi
, (Wed Nov 17, 12:25 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Darren Hart
, (Wed Nov 17, 12:40 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Ian Munsie
, (Wed Nov 17, 5:47 pm)
Re: [patch] trace: Add user-space event tracing/injection
, Darren Hart
, (Wed Nov 17, 6:18 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Masami Hiramatsu
, (Wed Nov 17, 10:58 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Masami Hiramatsu
, (Wed Nov 17, 11:00 pm)
Re: [patch] trace: Add user-space event tracing/injection
, Ingo Molnar
, (Thu Nov 18, 1:55 am)
Re: [patch] trace: Add user-space event tracing/injection
, hp
, (Thu Nov 18, 9:25 am)
Re: [patch] trace: Add user-space event tracing/injection
, Darren Hart
, (Thu Nov 18, 10:06 am)
Re: [patch] trace: Add user-space event tracing/injection
, Ingo Molnar
, (Thu Nov 18, 11:56 am)
AW: [patch] trace: Add user-space event tracing/injection
, Reichert, Hans-Peter
, (Thu Nov 18, 12:13 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Joe Perches
, (Thu Nov 18, 4:23 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Ian Munsie
, (Thu Nov 18, 7:32 pm)
Re: [ANNOUNCE] New utility: 'trace'
, Jason Baron
, (Fri Nov 19, 8:23 am)
PowerPC, ftrace: Add PPC raw syscall tracepoints & ftrace ...
, Ian Munsie
, (Mon Dec 6, 9:03 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
Oleg Nesterov
Re: init's children list is long and slows reaping children.
kogiidena
[PATCH 1/1] leds: LED Bitpattern Trigger
Stefan Richter
Re: [patch 00/04] RFC: Staging tree (drivers/staging)
David Miller
Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Christian Stimming
git-gui: Fix broken revert confirmation.
Junio C Hamano
Re: git-svnimport
Anuj Gakhar
Git Architecture Question
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
linux-netdev
:
Gerrit Renker
v2 [PATCH 1/4] dccp: Limit feature negotiation to connection setup phase
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...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
[ARM] dma: use new dmabounce_sync_for_xxx() for dma_sync_single_xxx()
Linux Kernel Mailing List
MIPS: Cavium: Remove unused watchdog code.
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
openbsd-misc
:
Christophe Rioux
Implementation example of snmp
Ryan McBride
Re: Packets Per Second Limit?
Nick Holland
Re: booting openbsd on eee without cd-rom
Bryan Irvine
Re: OpenBSD 4.7 Released, May 19 2010
Jacob Yocom-Piatt
Re: Same shit all over again
Colocation donated by:
Syndicate