Re: [PATCH 1/7] Simple Performance Counters: Core Piece
- From: fche@xxxxxxxxxx (Frank Ch. Eigler)
- Date: 31 Jul 2007 21:30:27 -0400
Christoph Lameter <clameter@xxxxxxx> writes:
Simple performance counters are a way to measure the performance on
code paths in the Linux kernel. Code must be instrumented with calls
that signal the start and the stop of a measurement. [...]
For what it's worth, this kind of measurement widget could be usefully
recast as a pure client of the lttng/systemtap markers that Mathieu is
still working on. Instead of the custom pc_start/pc_stop functions,
you would have generic markers to identify the start/end spots, and a
bit of callback code to compute/export the statistics to procfs.
- FChE
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH 1/7] Simple Performance Counters: Core Piece
- From: Christoph Lameter
- [PATCH 1/7] Simple Performance Counters: Core Piece
- Prev by Date: Re: [rfc] direct IO submission and completion scalability issues
- Next by Date: [PATCH] Fix section mismatch warnings in sound/pci/hda/
- Previous by thread: [PATCH 1/7] Simple Performance Counters: Core Piece
- Next by thread: Re: [PATCH 1/7] Simple Performance Counters: Core Piece
- Index(es):