Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

perf hisi-ptt: remove unused struct 'hisi_ptt_queue'

'hisi_ptt_queue' has been unused since the original
commit 5e91e57e6809 ("perf auxtrace arm64: Add support for parsing
HiSilicon PCIe Trace packet").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Cc: yangyicong@hisilicon.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240602000709.213116-1-linux@treblig.org

authored by

Dr. David Alan Gilbert and committed by
Namhyung Kim
0770ceaf f7abc0cf

-5
-5
tools/perf/util/hisi-ptt.c
··· 35 35 u32 pmu_type; 36 36 }; 37 37 38 - struct hisi_ptt_queue { 39 - struct hisi_ptt *ptt; 40 - struct auxtrace_buffer *buffer; 41 - }; 42 - 43 38 static enum hisi_ptt_pkt_type hisi_ptt_check_packet_type(unsigned char *buf) 44 39 { 45 40 uint32_t head = *(uint32_t *)buf;