vppinfra: fix clang-10 build error with asm inline 47/35947/1
authorTianyu Li <[email protected]>
Tue, 12 Apr 2022 03:58:29 +0000 (03:58 +0000)
committerTianyu Li <[email protected]>
Wed, 13 Apr 2022 06:13:08 +0000 (14:13 +0800)
commita80a5b00aac2637aac5160cc34941372d0641c9d
treeba461fde68395346f1144b93e42e57d1f497d1f1
parente4fa1d2f6b8721318c0f104f2615588b5d4e0441
vppinfra: fix clang-10 build error with asm inline

clang start to support parse asm inline from clang-11,
Use asm volatile instead.

Type: fix
Fixes: d5045e68a782 ("vppinfra: introduce clib_perfmom")
Signed-off-by: Tianyu Li <[email protected]>
Change-Id: I00e5e19856caaed94e22f8fa6cf4f918483976a4
src/vppinfra/perfmon/perfmon.c