aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMichal Marek <[email protected]>2013-11-11 14:40:35 +0100
committerBjorn Helgaas <[email protected]>2013-11-25 15:10:54 -0700
commitecf61c78bd787b9dfb4a6b1dfb7561c2a95c5c17 (patch)
tree87a8bb938cb53c314cd1e208f2ff41cb0c4796bf /tools/perf/util/trace-event-scripting.c
parent4bff6749905d3abe7436d3b2d20b626886a04475 (diff)
PCI: Omit PCI ID macro strings to shorten quirk names
Pasting the verbatim PCI_(VENDOR|DEVICE)_* macros in the __pci_fixup_* symbol names results in insanely long names such as __pci_fixup_resumePCI_VENDOR_ID_SERVERWORKSPCI_DEVICE_ID_SERVERWORKS_HT1000SBquirk_disable_broadcom_boot_interrupt When Link-Time Optimization adds its numeric suffix to such symbol, it overflows the namebuf[KSYM_NAME_LEN] array in kernel/kallsyms.c. Use the line number instead to create (nearly) unique symbol names. Reported-by: Joe Mario <[email protected]> Signed-off-by: Michal Marek <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Cc: Andi Kleen <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions