#!/bin/sh # description: produce callgraphs in short form for scripting use perf script -s "$PERF_EXEC_PATH"/scripts/python/stackcollapse.py -- "$@" /universe.0xinfinity.dev/distro/kernel/'/> 2025-08-29T20:34:29Z mips: Replace __ASSEMBLY__ with __ASSEMBLER__ in the mips headers 2025-08-29T20:34:29Z Thomas Huth thuth@redhat.com 2025-08-04T06:56:29Z urn:sha1:157f9533f9ffb5d9544515dcfe54e0901d9aa615 While the GCC and Clang compilers already define __ASSEMBLER__ automatically when compiling assembler code, __ASSEMBLY__ is a macro that only gets defined by the Makefiles in the kernel. Defining such a macro was necessary in the early days of the kernel, since GCC only started providing __ASSEMBLER__ since version 3.0 in 2000 (see https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=f8f769ea4e69 ). However, having two macros can be very confusing nowadays for the developers when switching between userspace and kernelspace coding, or when dealing with uapi headers that should use __ASSEMBLER__ instead. So let's now standardize on the __ASSEMBLER__ macro that is provided by the compilers. This is almost a completely mechanical patch (done with a simple "sed -i" statement), with just one comment tweaked manually in arch/mips/include/asm/cpu.h (that was missing some underscores). Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Cc: linux-mips@vger.kernel.org Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Maciej W. Rozycki <macro@orcam.me.uk> Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> MIPS: Whitespace cleanup. 2013-02-01T09:00:22Z Ralf Baechle ralf@linux-mips.org 2013-01-22T11:59:30Z urn:sha1:7034228792cc561e79ff8600f02884bd4c80e287 Having received another series of whitespace patches I decided to do this once and for all rather than dealing with this kind of patches trickling in forever. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> MIPS: Move headfiles to new location below arch/mips/include 2008-10-11T15:18:52Z Ralf Baechle ralf@linux-mips.org 2008-09-16T17:48:51Z urn:sha1:384740dc49ea651ba350704d13ff6be9976e37fe Signed-off-by: Ralf Baechle <ralf@linux-mips.org>