mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
The Open CoreSight Decoding Library (openCSD) is a free and open library to decode traces collected by the CoreSight hardware infrastructure. This patch adds the required mechanic to recognise the presence of the openCSD library on a system and set up miscellaneous flags to be used in the compilation of the trace decoding feature. Signed-off-by: Mathieu Poirier <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kim Phillips <[email protected]> Cc: [email protected] Cc: Mike Leach <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Suzuki Poulouse <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Link: http://lkml.kernel.org/r/[email protected] [ Merged missing test-libopencsd.c file, provided later by Mathieu ] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
9 lines
135 B
C
9 lines
135 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#include <opencsd/c_api/opencsd_c_api.h>
|
|
|
|
int main(void)
|
|
{
|
|
(void)ocsd_get_version();
|
|
return 0;
|
|
}
|