• Ian Rogers's avatar
    perf inject: Add new mmap2-buildid-all option · d762ba02
    Ian Rogers authored
    Add an option that allows all mmap or mmap2 events to be rewritten as
    mmap2 events with build IDs.
    
    This is similar to the existing -b/--build-ids and --buildid-all options
    except instead of adding a build_id event an existing mmap/mmap2 event
    is used as a template and a new mmap2 event synthesized from it.
    
    As mmap2 events are typical this avoids the insertion of build_id
    events.
    
    Add test coverage to the pipe test.
    Signed-off-by: default avatarIan Rogers <irogers@google.com>
    Acked-by: default avatarNamhyung Kim <namhyung@kernel.org>
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Anne Macedo <retpolanne@posteo.net>
    Cc: Casey Chen <cachen@purestorage.com>
    Cc: Colin Ian King <colin.i.king@gmail.com>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Kan Liang <kan.liang@linux.intel.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Sun Haiyong <sunhaiyong@loongson.cn>
    Link: https://lore.kernel.org/r/20240909203740.143492-3-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    d762ba02
pipe_test.sh 3.15 KB