• Tom Zanussi's avatar
    perf: Convert perf header attrs into attr events · 2c46dbb5
    Tom Zanussi authored
    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: default avatarTom Zanussi <tzanussi@gmail.com>
    Acked-by: default avatarThomas 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: default avatarIngo Molnar <mingo@elte.hu>
    2c46dbb5
builtin-trace.c 13.3 KB