• L
    perf auxtrace: Remove auxtrace_mmap__read_snapshot_head() · 9d645033
    Leo Yan 提交于
    Since the function auxtrace_mmap__read_snapshot_head() is exactly same
    with auxtrace_mmap__read_head(), whether the session is in snapshot mode
    or not, it's unified to use function auxtrace_mmap__read_head() for
    reading AUX buffer head.
    
    And the function auxtrace_mmap__read_snapshot_head() is unused so this
    patch removes it.
    Signed-off-by: NLeo Yan <leo.yan@linaro.org>
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Alexei Starovoitov <ast@kernel.org>
    Cc: Andi Kleen <ak@linux.intel.com>
    Cc: Andrii Nakryiko <andriin@fb.com>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Daniel Díaz <daniel.diaz@linaro.org>
    Cc: Frank Ch. Eigler <fche@redhat.com>
    Cc: H. Peter Anvin <hpa@zytor.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
    Cc: Michael Petlan <mpetlan@redhat.com>
    Cc: Mike Leach <mike.leach@linaro.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Sedat Dilek <sedat.dilek@gmail.com>
    Cc: Song Liu <songliubraving@fb.com>
    Cc: Suzuki Poulouse <suzuki.poulose@arm.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: coresight@lists.linaro.org
    Cc: x86@kernel.org
    Link: http://lore.kernel.org/lkml/20210809111407.596077-8-leo.yan@linaro.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
    9d645033
auxtrace.h 27.2 KB