treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of th
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later versionextracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-laterhas been chosen to replace the boilerplate/reference in 3029 file(s).Signed-off-by: Thomas Gleixner <tglx@linutronix.de>Reviewed-by: Allison Randal <allison@lohutok.net>Cc: linux-spdx@vger.kernel.orgLink: https://lkml.kernel.org/r/20190527070032.746973796@linutronix.deSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
show more ...
perf tools: Rename build libperf to perfRename build libperf to perf, because it's used to build perf.The libperf build object name will be used for libperf library.Signed-off-by: Jiri Olsa <jo
perf tools: Rename build libperf to perfRename build libperf to perf, because it's used to build perf.The libperf build object name will be used for libperf library.Signed-off-by: Jiri Olsa <jolsa@kernel.org>Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>Cc: Namhyung Kim <namhyung@kernel.org>Cc: Peter Zijlstra <peterz@infradead.org>Link: http://lkml.kernel.org/r/20190213123246.4015-4-jolsa@kernel.orgSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
perf dwarf: Fix potential array out of bounds accessThere is a problem in the dwarf-regs.c files for sh, sparc and x86 whereit is possible to make an out-of-bounds array access when searching for
perf dwarf: Fix potential array out of bounds accessThere is a problem in the dwarf-regs.c files for sh, sparc and x86 whereit is possible to make an out-of-bounds array access when searching forregister names.This patch fixes it by replacing '<=' to '<', so when register (number== XXX_MAX_REGS), get_arch_regstr() will return NULL.Signed-off-by: Wang Nan <wangnan0@huawei.com>Reviewed-by: Matt Fleming <matt@console-pimps.org>Acked-by: Jiri Olsa <jolsa@kernel.org>Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>Cc: David S. Miller <davem@davemloft.net>Cc: Zefan Li <lizefan@huawei.com>Cc: pi3orama@huawei.comLink: http://lkml.kernel.org/r/1441078184-105038-1-git-send-email-wangnan0@huawei.comSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
perf build: Add arch sparc objects buildingMove the sparc arch objects building under build framework to beincluded in the libperf build object.Signed-off-by: Jiri Olsa <jolsa@kernel.org>Tested
perf build: Add arch sparc objects buildingMove the sparc arch objects building under build framework to beincluded in the libperf build object.Signed-off-by: Jiri Olsa <jolsa@kernel.org>Tested-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>Tested-by: Will Deacon <will.deacon@arm.com>Cc: Alexis Berlemont <alexis.berlemont@gmail.com>Cc: Borislav Petkov <bp@alien8.de>Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>Cc: David Ahern <dsahern@gmail.com>Cc: Frederic Weisbecker <fweisbec@gmail.com>Cc: Namhyung Kim <namhyung@kernel.org>Cc: Paul Mackerras <paulus@samba.org>Cc: Peter Zijlstra <peterz@infradead.org>Cc: Stephane Eranian <eranian@google.com>Link: http://lkml.kernel.org/n/tip-160hknrqr27c9zf59japw91y@git.kernel.orgSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
perf tools: Fix build on non-glibc systems due to libio.h absenceIncluding libio.h causes build failures on uClibc systems (which lacklibio.h).It appears that libio.h was only included to pull i
perf tools: Fix build on non-glibc systems due to libio.h absenceIncluding libio.h causes build failures on uClibc systems (which lacklibio.h).It appears that libio.h was only included to pull in a definition forNULL, so it has been replaced by stddef.h.On powerpc, libio.h was conditionally included, but could be removedcompletely as it is unneeded. Also, the included of stdlib.h was changedto stddef.h (as again, only NULL is needed).Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>Cc: Ingo Molnar <mingo@redhat.com>Cc: Paul Mackerras <paulus@samba.org>Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>Link: http://lkml.kernel.org/r/1363300074-26288-1-git-send-email-cody@linux.vnet.ibm.comSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
perf: Add DWARF register lookup for sparcSigned-off-by: David S. Miller <davem@davemloft.net>