summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/c++/clang-test.cpp
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2021-11-09 09:23:07 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-11-12 10:40:34 -0300
commit66aee54ba42c72d594076f1de2d97fe0933836e8 (patch)
treee2f369f29d41df8a95dcc95bd7eccb668e88f81e /tools/perf/util/c++/clang-test.cpp
parent0826b7fd0a0188d9f8388ff031dd0b3e3beb77a6 (diff)
downloadlinux-stable-66aee54ba42c72d594076f1de2d97fe0933836e8.tar.gz
linux-stable-66aee54ba42c72d594076f1de2d97fe0933836e8.tar.bz2
linux-stable-66aee54ba42c72d594076f1de2d97fe0933836e8.zip
perf beauty: Add socket level scnprintf that handles ARCH specific SOL_SOCKET
SOL_SOCKET has a different value according to the architecture, some have it as 0xffff while all the others have it as 1, so a simple string array isn't usable, add a scnprintf routine that treats it as a special case, using the array for other values. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions