perf: Convert perf header attrs into attr events
Bypasses the attr perf header code and replaces it with a synthesized event and processing function that accomplishes the same thing, used when reading/writing perf data to/from a pipe. Making the attrs into events allows them to be streamed over a pipe along with the rest of the header data (in later patches). It also paves the way to allowing events to be added and removed from perf sessions dynamically. Signed-off-by:Tom Zanussi <tzanussi@gmail.com> Acked-by:
Thomas Gleixner <tglx@linutronix.de> Cc: fweisbec@gmail.com Cc: rostedt@goodmis.org Cc: k-keiichi@bx.jp.nec.com Cc: acme@ghostprotocols.net LKML-Reference: <1270184365-8281-6-git-send-email-tzanussi@gmail.com> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- tools/perf/builtin-record.c 10 additions, 0 deletionstools/perf/builtin-record.c
- tools/perf/builtin-report.c 1 addition, 0 deletionstools/perf/builtin-report.c
- tools/perf/builtin-trace.c 1 addition, 0 deletionstools/perf/builtin-trace.c
- tools/perf/util/event.h 9 additions, 1 deletiontools/perf/util/event.h
- tools/perf/util/header.c 79 additions, 0 deletionstools/perf/util/header.c
- tools/perf/util/header.h 8 additions, 0 deletionstools/perf/util/header.h
- tools/perf/util/session.c 26 additions, 0 deletionstools/perf/util/session.c
- tools/perf/util/session.h 2 additions, 1 deletiontools/perf/util/session.h
Loading
Please register or sign in to comment