summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMengdong Lin <mengdong.lin@linux.intel.com>2017-06-28 10:01:39 +0300
committerMark Brown <broonie@kernel.org>2017-06-28 20:46:30 +0300
commit98faf436ee05503e258ee934a9de8d8a3472b40f (patch)
tree02fb4d6d6510df1308f064ba9b4bbfe070490c83 /tools/perf/scripts/python/stackcollapse.py
parent1f0f8bde45a7ea843bb2e7a8f45f255b23cdc2e7 (diff)
downloadlinux-98faf436ee05503e258ee934a9de8d8a3472b40f.tar.xz
ASoC: Drop invalid DMI fields when setting card long name from DMI info
Sometimes DMI fields may be invalid and so can't give useful vendor, product or board info, such as "Type2 - Board Manufacturer" or "Type1 - TBD by OEM". Including such invalid DMI fileds may create silly card long name. So this patch creates a black list of invalid strings. And if a DMI field contains any string in this list, it will be excluded from the card long name. Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions