diff options
| author | Wang Nan <[email protected]> | 2015-11-06 13:55:35 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-11-06 18:57:18 +0000 |
| commit | 07bc5c699a3d8fe5e26dbcd72e4103c7988055ba (patch) | |
| tree | fac957d198bae637f821596f3e2d9b8d7f3474ec /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | bpf tools: Add new API bpf_object__get_kversion() (diff) | |
| download | kernel-07bc5c699a3d8fe5e26dbcd72e4103c7988055ba.tar.gz kernel-07bc5c699a3d8fe5e26dbcd72e4103c7988055ba.zip | |
perf tools: Make fetch_kernel_version() publicly available
There are 2 places in llvm-utils.c which find kernel version information
through uname. This patch extracts the uname related code into a
fetch_kernel_version() function and puts it into util.h so it can be
reused.
Signed-off-by: Wang Nan <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Zefan Li <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
