diff options
| author | Tom Zanussi <[email protected]> | 2010-04-02 04:59:15 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2010-04-14 09:56:05 +0000 |
| commit | 8dc58101f2c838355d44402aa77646649d10dbec (patch) | |
| tree | d4cc08cccfec56d37dee4c4b2383ffe56d176494 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
| parent | perf: Fix endianness argument compatibility with OPT_BOOLEAN() and introduce ... (diff) | |
| download | kernel-8dc58101f2c838355d44402aa77646649d10dbec.tar.gz kernel-8dc58101f2c838355d44402aa77646649d10dbec.zip | |
perf: Add pipe-specific header read/write and event processing code
This patch makes several changes to allow the perf event stream
to be sent and received over a pipe:
- adds pipe-specific versions of the header read/write code
- adds pipe-specific version of the event processing code
- adds a range of event types to be used for header or other
pseudo events, above the range used by the kernel
- checks the return value of event handlers, which they can use
to skip over large events during event processing rather than actually
reading them into event objects.
- unifies the multiple do_read() functions and updates its
users.
Note that none of these changes affect the existing perf data
file format or processing - this code only comes into play if
perf output is sent to stdout (or is read from stdin).
Signed-off-by: Tom Zanussi <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions
