<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Build</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>fdf08e4b5a33e840b6c2a988cd4392b4443ca51b - perf unwind-libunwind: Make libunwind register reading cross platform</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/arch/powerpc/util/Build#fdf08e4b5a33e840b6c2a988cd4392b4443ca51b</link>
        <description>perf unwind-libunwind: Make libunwind register reading cross platformMove the libunwind register to perf register mapping functions inarch/../util/unwind-libunwind.c into a new libunwind-archdirectory. Rename the functions to__get_perf_regnum_for_unw_regnum_&lt;arch&gt;. Add untested ppc32 and s390functions. Add a get_perf_regnum_for_unw_regnum function that takes anELF machine as well as a register number and chooses the appropriatearchitecture implementation.Split the x86 and powerpc 32 and 64-bit implementations apart so thata single libunwind-&lt;arch&gt;.h header is included.Move the e_machine into the unwind_info struct to make it easier topass.Signed-off-by: Ian Rogers &lt;irogers@google.com&gt;Cc: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Cc: Albert Ou &lt;aou@eecs.berkeley.edu&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Alexandre Ghiti &lt;alex@ghiti.fr&gt;Cc: Andrew Jones &lt;andrew.jones@oss.qualcomm.com&gt;Cc: Athira Rajeev &lt;atrajeev@linux.ibm.com&gt;Cc: Dapeng Mi &lt;dapeng1.mi@linux.intel.com&gt;Cc: Dmitrii Dolgov &lt;9erthalion6@gmail.com&gt;Cc: Florian Fainelli &lt;florian.fainelli@broadcom.com&gt;Cc: Howard Chu &lt;howardchu95@gmail.com&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: James Clark &lt;james.clark@linaro.org&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: John Garry &lt;john.g.garry@oracle.com&gt;Cc: Leo Yan &lt;leo.yan@linux.dev&gt;Cc: Li Guan &lt;guanli.oerv@isrc.iscas.ac.cn&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Palmer Dabbelt &lt;palmer@dabbelt.com&gt;Cc: Paul Walmsley &lt;pjw@kernel.org&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Shimin Guo &lt;shimin.guo@skydio.com&gt;Cc: Thomas Richter &lt;tmricht@linux.ibm.com&gt;Cc: Tomas Glozar &lt;tglozar@redhat.com&gt;Cc: Will Deacon &lt;will@kernel.org&gt;[ Map UNW_PPC32_NIP to PERF_REG_POWERPC_NIP like done for 64-bit, pointed out by a local sashiko ]Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux/tools/perf/arch/powerpc/util/Build</description>
        <pubDate>Thu, 14 May 2026 01:31:48 +0200</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>e5e66adfe45a6480d96b4e40edc05883915f44b2 - perf regs: Remove __weak attributive arch_sdt_arg_parse_op() function</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/arch/powerpc/util/Build#e5e66adfe45a6480d96b4e40edc05883915f44b2</link>
        <description>perf regs: Remove __weak attributive arch_sdt_arg_parse_op() functionIn line with the previous patch, the __weak arch_sdt_arg_parse_op()function is removed.Architectural-specific implementations in the arch/ directory are nowconverted into sub-functions within the util/perf-regs-arch/ directory.The perf_sdt_arg_parse_op() function will call these sub-functions basedon the EM_HOST.This change enables cross-architecture calls to arch_sdt_arg_parse_op().No functional changes are intended.Suggested-by: Ian Rogers &lt;irogers@google.com&gt;Reviewed-by: Ian Rogers &lt;irogers@google.com&gt;Signed-off-by: Dapeng Mi &lt;dapeng1.mi@linux.intel.com&gt;Cc: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Cc: Albert Ou &lt;aou@eecs.berkeley.edu&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Alexandre Ghiti &lt;alex@ghiti.fr&gt;Cc: Guo Ren &lt;guoren@kernel.org&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: James Clark &lt;james.clark@linaro.org&gt;Cc: John Garry &lt;john.g.garry@oracle.com&gt;Cc: Mike Leach &lt;mike.leach@linaro.org&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Palmer Dabbelt &lt;palmer@dabbelt.com&gt;Cc: Paul Walmsley &lt;pjw@kernel.org&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Thomas Falcon &lt;thomas.falcon@intel.com&gt;Cc: Will Deacon &lt;will@kernel.org&gt;Cc: Xudong Hao &lt;xudong.hao@intel.com&gt;Cc: Zide Chen &lt;zide.chen@intel.com&gt;[ Fixed up somme fuzz with powerpc and x86 Build files wrt removing perf_regs.o ]Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux/tools/perf/arch/powerpc/util/Build</description>
        <pubDate>Tue, 03 Feb 2026 03:43:56 +0100</pubDate>
        <dc:creator>Dapeng Mi &lt;dapeng1.mi@linux.intel.com&gt;</dc:creator>
    </item>
<item>
        <title>ceea279f93760767c0e654341829334a1c881a08 - perf kvm stat: Remove use of the arch directory</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/arch/powerpc/util/Build#ceea279f93760767c0e654341829334a1c881a08</link>
        <description>perf kvm stat: Remove use of the arch directory`perf kvm stat` supports record and report options.By using the arch directory a report for a different machine type cannotbe supported.Move the kvm-stat code out of the arch directory and intoutil/kvm-stat-arch following the pattern of perf-regs and dwarf-regs.Avoid duplicate symbols by renaming functions to have the architecturename within them.For global variables, wrap them in an architecture specific function.Selecting the architecture to use with `perf kvm stat` is selected byEM_HOST, ie no different than before the change.Later the ELF machine can be determined from the session or a headerfeature (ie EM_HOST at the time of the record).The build and #define HAVE_KVM_STAT_SUPPORT is now redundant so removeacross Makefiles and in the build.Opportunistically constify architectural structs and arrays.Signed-off-by: Ian Rogers &lt;irogers@google.com&gt;Cc: Aditya Bodkhe &lt;aditya.b1@linux.ibm.com&gt;Cc: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Cc: Albert Ou &lt;aou@eecs.berkeley.edu&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Alexandre Ghiti &lt;alex@ghiti.fr&gt;Cc: Andi Kleen &lt;ak@linux.intel.com&gt;Cc: Andrew Jones &lt;ajones@ventanamicro.com&gt;Cc: Anubhav Shelat &lt;ashelat@redhat.com&gt;Cc: Anup Patel &lt;anup@brainfault.org&gt;Cc: Athira Rajeev &lt;atrajeev@linux.ibm.com&gt;Cc: Blake Jones &lt;blakejones@google.com&gt;Cc: Chun-Tse Shao &lt;ctshao@google.com&gt;Cc: Dapeng Mi &lt;dapeng1.mi@linux.intel.com&gt;Cc: Dmitriy Vyukov &lt;dvyukov@google.com&gt;Cc: Howard Chu &lt;howardchu95@gmail.com&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: James Clark &lt;james.clark@linaro.org&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: John Garry &lt;john.g.garry@oracle.com&gt;Cc: Leo Yan &lt;leo.yan@linux.dev&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Palmer Dabbelt &lt;palmer@dabbelt.com&gt;Cc: Paul Walmsley &lt;pjw@kernel.org&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Quan Zhou &lt;zhouquan@iscas.ac.cn&gt;Cc: Shimin Guo &lt;shimin.guo@skydio.com&gt;Cc: Swapnil Sapkal &lt;swapnil.sapkal@amd.com&gt;Cc: Thomas Falcon &lt;thomas.falcon@intel.com&gt;Cc: Will Deacon &lt;will@kernel.org&gt;Cc: Yunseong Kim &lt;ysk@kzalloc.com&gt;Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux/tools/perf/arch/powerpc/util/Build</description>
        <pubDate>Tue, 03 Feb 2026 19:26:36 +0100</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>e62fae9d9e85d38cdda1ee08a424e1b5b8246620 - perf unwind-libdw: Fix a cross-arch unwinding bug</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/arch/powerpc/util/Build#e62fae9d9e85d38cdda1ee08a424e1b5b8246620</link>
        <description>perf unwind-libdw: Fix a cross-arch unwinding bugThe set_initial_registers field of Dwfl_Thread_Callbacks needs to be setaccording to the arch of the stack samples being analyzed, not the archthat perf itself is built for.Currently perf fails to unwind stack samples collected from archsdifferent from that of the host perf is running on.This patch moves the arch-specific implementations of set_initial_registersfrom tools/perf/arch to tools/perf/utli/unwind-libdw-arch, similar to theway the perf-regs-arch folder contains arch-specific functions related toregisters, and chooses the implementation based on the arch of the databeing processed.Reviewed-by: Ian Rogers &lt;irogers@google.com&gt;Signed-off-by: Shimin Guo &lt;shimin.guo@skydio.com&gt;Acked-by: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Aditya Bodkhe &lt;aditya.b1@linux.ibm.com&gt;Cc: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Cc: Albert Ou &lt;aou@eecs.berkeley.edu&gt;Cc: Alexandre Ghiti &lt;alex@ghiti.fr&gt;Cc: Andi Kleen &lt;ak@linux.intel.com&gt;Cc: Athira Rajeev &lt;atrajeev@linux.ibm.com&gt;Cc: Chun-Tse Shao &lt;ctshao@google.com&gt;Cc: Dmitriy Vyukov &lt;dvyukov@google.com&gt;Cc: Dr. David Alan Gilbert &lt;linux@treblig.org&gt;Cc: Guo Ren &lt;guoren@kernel.org&gt;Cc: Haibo Xu &lt;haibo1.xu@intel.com&gt;Cc: Howard Chu &lt;howardchu95@gmail.com&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: James Clark &lt;james.clark@linaro.org&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: John Garry &lt;john.g.garry@oracle.com&gt;Cc: Krzysztof &#321;opatowski &lt;krzysztof.m.lopatowski@gmail.com&gt;Cc: Leo Yan &lt;leo.yan@linux.dev&gt;Cc: Mark Wielaard &lt;mark@klomp.org&gt;Cc: Palmer Dabbelt &lt;palmer@dabbelt.com&gt;Cc: Paul Walmsley &lt;pjw@kernel.org&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Sergei Trofimovich &lt;slyich@gmail.com&gt;Cc: Stephen Brennan &lt;stephen.s.brennan@oracle.com&gt;Cc: Thomas Falcon &lt;thomas.falcon@intel.com&gt;Cc: Will Deacon &lt;will@kernel.org&gt;Signed-off-by: Ian Rogers &lt;irogers@google.com&gt;Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux/tools/perf/arch/powerpc/util/Build</description>
        <pubDate>Sat, 17 Jan 2026 06:28:30 +0100</pubDate>
        <dc:creator>Shimin Guo &lt;shimin.guo@skydio.com&gt;</dc:creator>
    </item>
<item>
        <title>754187ad73b73bcb44f106a8e5fc88789beff1bd - perf build: Remove NO_AUXTRACE build option</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/arch/powerpc/util/Build#754187ad73b73bcb44f106a8e5fc88789beff1bd</link>
        <description>perf build: Remove NO_AUXTRACE build optionThe NO_AUXTRACE build option was used when the __get_cpuid featuretest failed or if it was provided on the command line. The option nolonger avoids a dependency on a library and so having the option isjust adding complexity to the code base. Remove the optionCONFIG_AUXTRACE from Build files and HAVE_AUXTRACE_SUPPORT by assumingit is always defined.Signed-off-by: Ian Rogers &lt;irogers@google.com&gt;Reviewed-by: James Clark &lt;james.clark@linaro.org&gt;Signed-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;

            List of files:
            /linux/tools/perf/arch/powerpc/util/Build</description>
        <pubDate>Mon, 10 Nov 2025 02:31:51 +0100</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>1dbfaf94cf66ec4b19945aa4c76901e4af292a48 - perf powerpc: Add basic CONFIG_AUXTRACE support for VPA pmu on powerpc</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/arch/powerpc/util/Build#1dbfaf94cf66ec4b19945aa4c76901e4af292a48</link>
        <description>perf powerpc: Add basic CONFIG_AUXTRACE support for VPA pmu on powerpcThe powerpc PMU collecting Dispatch Trace Log (DTL) entries makes use ofAUX support in perf infrastructure.The PMU driver has the functionality to collect trace entries in the auxbuffer.On the tools side, this data is made available as PERF_RECORD_AUXTRACErecords.This record is generated by &quot;perf record&quot; command.To enable the creation of PERF_RECORD_AUXTRACE, add functions toinitialize auxtrace records ie &quot;auxtrace_record__init()&quot;.Fill in fields for other callbacks like info_priv_size, info_fill, free,recording options etc.Define auxtrace_type as PERF_AUXTRACE_VPA_DTL.  Add header file todefine vpa dtl pmu specific details.Reviewed-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Signed-off-by: Athira Rajeev &lt;atrajeev@linux.ibm.com&gt;Tested-by: Tejas Manhas &lt;tejas05@linux.ibm.com&gt;Tested-by: Venkat Rao Bagalkote &lt;venkat88@linux.ibm.com&gt;Cc: Aboorva Devarajan &lt;aboorvad@linux.ibm.com&gt;Cc: Aditya Bodkhe &lt;Aditya.Bodkhe1@ibm.com&gt;Cc: Hari Bathini &lt;hbathini@linux.vnet.ibm.com&gt;Cc: Ian Rogers &lt;irogers@google.com&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: Madhavan Srinivasan &lt;maddy@linux.ibm.com&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Shrikanth Hegde &lt;sshegde@linux.ibm.com&gt;Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux/tools/perf/arch/powerpc/util/Build</description>
        <pubDate>Tue, 16 Sep 2025 07:25:31 +0200</pubDate>
        <dc:creator>Athira Rajeev &lt;atrajeev@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>6e19839a80b8713b836722ba9d99a3ab12cfb651 - perf sort: Use perf_env to set arch sort keys and header</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/arch/powerpc/util/Build#6e19839a80b8713b836722ba9d99a3ab12cfb651</link>
        <description>perf sort: Use perf_env to set arch sort keys and headerPreviously arch_support_sort_key and arch_perf_header_entry used aweak symbol to compile as appropriate for x86 and powerpc. Alimitation to this is that the handling of a data file could vary incross-platform development. Change to using the perf_env of thecurrent session to determine the architecture kind and set the sortkey and header entries as appropriate.Signed-off-by: Ian Rogers &lt;irogers@google.com&gt;Link: https://lore.kernel.org/r/20250724163302.596743-23-irogers@google.comSigned-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;

            List of files:
            /linux/tools/perf/arch/powerpc/util/Build</description>
        <pubDate>Thu, 24 Jul 2025 18:33:02 +0200</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>285b523c2da2e71f529e477a64b09f2e719f9d6f - perf dwarf-regs: Move powerpc dwarf-regs out of arch</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/arch/powerpc/util/Build#285b523c2da2e71f529e477a64b09f2e719f9d6f</link>
        <description>perf dwarf-regs: Move powerpc dwarf-regs out of archMove arch/powerpc/util/dwarf-regs.c to util/dwarf-regs-powerpc.c andcompile in unconditionally. get_arch_regstr is redundant when EM_NONEis treated as EM_HOST so remove and update dwarf-regs.c conditions.Make get_powerpc_regs unconditionally available whwn libdw is.Reviewed-by: Masami Hiramatsu (Google) &lt;mhiramat@kernel.org&gt;Signed-off-by: Ian Rogers &lt;irogers@google.com&gt;Cc: Anup Patel &lt;anup@brainfault.org&gt;Cc: Yang Jihong &lt;yangjihong@bytedance.com&gt;Cc: Palmer Dabbelt &lt;palmer@dabbelt.com&gt;Cc: David S. Miller &lt;davem@davemloft.net&gt;Cc: Albert Ou &lt;aou@eecs.berkeley.edu&gt;Cc: Shenlin Liang &lt;liangshenlin@eswincomputing.com&gt;Cc: Nick Terrell &lt;terrelln@fb.com&gt;Cc: Guilherme Amadio &lt;amadio@gentoo.org&gt;Cc: Steinar H. Gunderson &lt;sesse@google.com&gt;Cc: Changbin Du &lt;changbin.du@huawei.com&gt;Cc: Alexander Lobakin &lt;aleksander.lobakin@intel.com&gt;Cc: Przemek Kitszel &lt;przemyslaw.kitszel@intel.com&gt;Cc: Huacai Chen &lt;chenhuacai@kernel.org&gt;Cc: Guo Ren &lt;guoren@kernel.org&gt;Cc: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Cc: Will Deacon &lt;will@kernel.org&gt;Cc: James Clark &lt;james.clark@linaro.org&gt;Cc: Mike Leach &lt;mike.leach@linaro.org&gt;Cc: Chen Pei &lt;cp0613@linux.alibaba.com&gt;Cc: Leo Yan &lt;leo.yan@linux.dev&gt;Cc: Oliver Upton &lt;oliver.upton@linux.dev&gt;Cc: Aditya Gupta &lt;adityag@linux.ibm.com&gt;Cc: Kajol Jain &lt;kjain@linux.ibm.com&gt;Cc: Athira Rajeev &lt;atrajeev@linux.vnet.ibm.com&gt;Cc: linux-arm-kernel@lists.infradead.orgCc: linux-riscv@lists.infradead.orgCc: Bibo Mao &lt;maobibo@loongson.cn&gt;Cc: John Garry &lt;john.g.garry@oracle.com&gt;Cc: Atish Patra &lt;atishp@rivosinc.com&gt;Cc: Dima Kogan &lt;dima@secretsauce.net&gt;Cc: Paul Walmsley &lt;paul.walmsley@sifive.com&gt;Cc: Dr. David Alan Gilbert &lt;linux@treblig.org&gt;Cc: linux-csky@vger.kernel.orgLink: https://lore.kernel.org/r/20241108234606.429459-14-irogers@google.comSigned-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;

            List of files:
            /linux/tools/perf/arch/powerpc/util/Build</description>
        <pubDate>Sat, 09 Nov 2024 00:45:58 +0100</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>5455d89bf3da85176606ff861f4178f6bea648ba - perf build: Rename CONFIG_DWARF to CONFIG_LIBDW</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/arch/powerpc/util/Build#5455d89bf3da85176606ff861f4178f6bea648ba</link>
        <description>perf build: Rename CONFIG_DWARF to CONFIG_LIBDWIn Makefile.config for unwinding the name dwarf implies eitherlibunwind or libdw. Make it clearer that CONFIG_DWARF is really justdefined when libdw is present by renaming to CONFIG_LIBDW.Signed-off-by: Ian Rogers &lt;irogers@google.com&gt;Acked-by: Namhyung Kim &lt;namhyung@kernel.org&gt;Tested-by: Leo Yan &lt;leo.yan@arm.com&gt;Cc: Anup Patel &lt;anup@brainfault.org&gt;Cc: Yang Jihong &lt;yangjihong@bytedance.com&gt;Cc: Palmer Dabbelt &lt;palmer@dabbelt.com&gt;Cc: David S. Miller &lt;davem@davemloft.net&gt;Cc: Albert Ou &lt;aou@eecs.berkeley.edu&gt;Cc: Shenlin Liang &lt;liangshenlin@eswincomputing.com&gt;Cc: Nick Terrell &lt;terrelln@fb.com&gt;Cc: Guilherme Amadio &lt;amadio@gentoo.org&gt;Cc: Steinar H. Gunderson &lt;sesse@google.com&gt;Cc: Changbin Du &lt;changbin.du@huawei.com&gt;Cc: Alexander Lobakin &lt;aleksander.lobakin@intel.com&gt;Cc: Przemek Kitszel &lt;przemyslaw.kitszel@intel.com&gt;Cc: Huacai Chen &lt;chenhuacai@kernel.org&gt;Cc: Guo Ren &lt;guoren@kernel.org&gt;Cc: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Cc: Masami Hiramatsu (Google) &lt;mhiramat@kernel.org&gt;Cc: Will Deacon &lt;will@kernel.org&gt;Cc: James Clark &lt;james.clark@linaro.org&gt;Cc: Mike Leach &lt;mike.leach@linaro.org&gt;Cc: Chen Pei &lt;cp0613@linux.alibaba.com&gt;Cc: Leo Yan &lt;leo.yan@linux.dev&gt;Cc: Oliver Upton &lt;oliver.upton@linux.dev&gt;Cc: Aditya Gupta &lt;adityag@linux.ibm.com&gt;Cc: Kajol Jain &lt;kjain@linux.ibm.com&gt;Cc: Athira Rajeev &lt;atrajeev@linux.vnet.ibm.com&gt;Cc: linux-arm-kernel@lists.infradead.orgCc: linux-riscv@lists.infradead.orgCc: Bibo Mao &lt;maobibo@loongson.cn&gt;Cc: John Garry &lt;john.g.garry@oracle.com&gt;Cc: Atish Patra &lt;atishp@rivosinc.com&gt;Cc: Dima Kogan &lt;dima@secretsauce.net&gt;Cc: Paul Walmsley &lt;paul.walmsley@sifive.com&gt;Cc: Dr. David Alan Gilbert &lt;linux@treblig.org&gt;Cc: linux-csky@vger.kernel.orgLink: https://lore.kernel.org/r/20241017001354.56973-12-irogers@google.comSigned-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;

            List of files:
            /linux/tools/perf/arch/powerpc/util/Build</description>
        <pubDate>Thu, 17 Oct 2024 02:13:54 +0200</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>e467705a9fb37f51595aa6deaca085ccb4005454 - perf util: Make util its own library</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/arch/powerpc/util/Build#e467705a9fb37f51595aa6deaca085ccb4005454</link>
        <description>perf util: Make util its own libraryMake the util directory into its own library. This is done to avoidcompiling code twice, once for the perf tool and once for the perfpython module. For convenience:  arch/common.c  scripts/perl/Perf-Trace-Util/Context.c  scripts/python/Perf-Trace-Util/Context.care made part of this library.Signed-off-by: Ian Rogers &lt;irogers@google.com&gt;Reviewed-by: James Clark &lt;james.clark@arm.com&gt;Cc: Suzuki K Poulose &lt;suzuki.poulose@arm.com&gt;Cc: Kees Cook &lt;keescook@chromium.org&gt;Cc: Palmer Dabbelt &lt;palmer@dabbelt.com&gt;Cc: Albert Ou &lt;aou@eecs.berkeley.edu&gt;Cc: Nick Terrell &lt;terrelln@fb.com&gt;Cc: Gary Guo &lt;gary@garyguo.net&gt;Cc: Alex Gaynor &lt;alex.gaynor@gmail.com&gt;Cc: Boqun Feng &lt;boqun.feng@gmail.com&gt;Cc: Wedson Almeida Filho &lt;wedsonaf@gmail.com&gt;Cc: Ze Gao &lt;zegao2021@gmail.com&gt;Cc: Alice Ryhl &lt;aliceryhl@google.com&gt;Cc: Andrei Vagin &lt;avagin@google.com&gt;Cc: Yicong Yang &lt;yangyicong@hisilicon.com&gt;Cc: Jonathan Cameron &lt;jonathan.cameron@huawei.com&gt;Cc: Guo Ren &lt;guoren@kernel.org&gt;Cc: Miguel Ojeda &lt;ojeda@kernel.org&gt;Cc: Will Deacon &lt;will@kernel.org&gt;Cc: Mike Leach &lt;mike.leach@linaro.org&gt;Cc: Leo Yan &lt;leo.yan@linux.dev&gt;Cc: Oliver Upton &lt;oliver.upton@linux.dev&gt;Cc: John Garry &lt;john.g.garry@oracle.com&gt;Cc: Benno Lossin &lt;benno.lossin@proton.me&gt;Cc: Bj&#246;rn Roy Baron &lt;bjorn3_gh@protonmail.com&gt;Cc: Andreas Hindborg &lt;a.hindborg@samsung.com&gt;Cc: Paul Walmsley &lt;paul.walmsley@sifive.com&gt;Signed-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;Link: https://lore.kernel.org/r/20240625214117.953777-7-irogers@google.com

            List of files:
            /linux/tools/perf/arch/powerpc/util/Build</description>
        <pubDate>Tue, 25 Jun 2024 23:41:15 +0200</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>abbdd79b786e036e60f01b7907977943ebe7a74d - perf mem: Clean up perf_mem_events__name()</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/arch/powerpc/util/Build#abbdd79b786e036e60f01b7907977943ebe7a74d</link>
        <description>perf mem: Clean up perf_mem_events__name()Introduce a generic perf_mem_events__name(). Remove the ARCH-specificone.The mem_load events may have a different format. Add ldlat and aux_eventin the struct perf_mem_event to indicate the format and the extra auxevent.Add perf_mem_events_intel_aux[] to support the extra mem_load_aux event.Rename perf_mem_events__name to perf_pmu__mem_events_name.Reviewed-by: Ian Rogers &lt;irogers@google.com&gt;Tested-by: Ravi Bangoria &lt;ravi.bangoria@amd.com&gt;Tested-by: Leo Yan &lt;leo.yan@linaro.org&gt;Signed-off-by: Kan Liang &lt;kan.liang@linux.intel.com&gt;Cc: james.clark@arm.comCc: will@kernel.orgCc: mike.leach@linaro.orgCc: renyu.zj@linux.alibaba.comCc: yuhaixin.yhx@linux.alibaba.comCc: tmricht@linux.ibm.comCc: atrajeev@linux.vnet.ibm.comCc: linux-arm-kernel@lists.infradead.orgCc: john.g.garry@oracle.comLink: https://lore.kernel.org/r/20240123185036.3461837-4-kan.liang@linux.intel.comSigned-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;

            List of files:
            /linux/tools/perf/arch/powerpc/util/Build</description>
        <pubDate>Tue, 23 Jan 2024 19:50:32 +0100</pubDate>
        <dc:creator>Kan Liang &lt;kan.liang@linux.intel.com&gt;</dc:creator>
    </item>
<item>
        <title>378ef0f5d9d7f4652d7a40e0711e8b845ada1cbd - perf build: Use libtraceevent from the system</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/arch/powerpc/util/Build#378ef0f5d9d7f4652d7a40e0711e8b845ada1cbd</link>
        <description>perf build: Use libtraceevent from the systemRemove the LIBTRACEEVENT_DYNAMIC and LIBTRACEFS_DYNAMIC make commandline variables.If libtraceevent isn&apos;t installed or NO_LIBTRACEEVENT=1 is passed to thebuild, don&apos;t compile in libtraceevent and libtracefs support.This also disables CONFIG_TRACE that controls &quot;perf trace&quot;.CONFIG_LIBTRACEEVENT is used to control enablement in Build/Makefiles,HAVE_LIBTRACEEVENT is used in C code.Without HAVE_LIBTRACEEVENT tracepoints are disabled and as such thecommands kmem, kwork, lock, sched and timechart are removed.  Themajority of commands continue to work including &quot;perf test&quot;.Committer notes:Fixed up a tools/perf/util/Build reject and added:  #include &lt;traceevent/event-parse.h&gt;to tools/perf/util/scripting-engines/trace-event-perl.c.Committer testing:  $ rpm -qi libtraceevent-devel  Name        : libtraceevent-devel  Version     : 1.5.3  Release     : 2.fc36  Architecture: x86_64  Install Date: Mon 25 Jul 2022 03:20:19 PM -03  Group       : Unspecified  Size        : 27728  License     : LGPLv2+ and GPLv2+  Signature   : RSA/SHA256, Fri 15 Apr 2022 02:11:58 PM -03, Key ID 999f7cbf38ab71f4  Source RPM  : libtraceevent-1.5.3-2.fc36.src.rpm  Build Date  : Fri 15 Apr 2022 10:57:01 AM -03  Build Host  : buildvm-x86-05.iad2.fedoraproject.org  Packager    : Fedora Project  Vendor      : Fedora Project  URL         : https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/  Bug URL     : https://bugz.fedoraproject.org/libtraceevent  Summary     : Development headers of libtraceevent  Description :  Development headers of libtraceevent-libs  $Default build:  $ ldd ~/bin/perf | grep tracee  	libtraceevent.so.1 =&gt; /lib64/libtraceevent.so.1 (0x00007f1dcaf8f000)  $  # perf trace -e sched:* --max-events 10       0.000 migration/0/17 sched:sched_migrate_task(comm: &quot;&quot;, pid: 1603763 (perf), prio: 120, dest_cpu: 1)       0.005 migration/0/17 sched:sched_wake_idle_without_ipi(cpu: 1)       0.011 migration/0/17 sched:sched_switch(prev_comm: &quot;&quot;, prev_pid: 17 (migration/0), prev_state: 1, next_comm: &quot;&quot;, next_prio: 120)       1.173 :0/0 sched:sched_wakeup(comm: &quot;&quot;, pid: 3138 (gnome-terminal-), prio: 120)       1.180 :0/0 sched:sched_switch(prev_comm: &quot;&quot;, prev_prio: 120, next_comm: &quot;&quot;, next_pid: 3138 (gnome-terminal-), next_prio: 120)       0.156 migration/1/21 sched:sched_migrate_task(comm: &quot;&quot;, pid: 1603763 (perf), prio: 120, orig_cpu: 1, dest_cpu: 2)       0.160 migration/1/21 sched:sched_wake_idle_without_ipi(cpu: 2)       0.166 migration/1/21 sched:sched_switch(prev_comm: &quot;&quot;, prev_pid: 21 (migration/1), prev_state: 1, next_comm: &quot;&quot;, next_prio: 120)       1.183 :0/0 sched:sched_wakeup(comm: &quot;&quot;, pid: 1602985 (kworker/u16:0-f), prio: 120, target_cpu: 1)       1.186 :0/0 sched:sched_switch(prev_comm: &quot;&quot;, prev_prio: 120, next_comm: &quot;&quot;, next_pid: 1602985 (kworker/u16:0-f), next_prio: 120)  #Had to tweak tools/perf/util/setup.py to make sure the python bindingshared object links with libtraceevent if -DHAVE_LIBTRACEEVENT ispresent in CFLAGS.Building with NO_LIBTRACEEVENT=1 uncovered some more build failures:- Make building of data-convert-bt.c to CONFIG_LIBTRACEEVENT=y- perf-$(CONFIG_LIBTRACEEVENT) += scripts/- bpf_kwork.o needs also to be dependent on CONFIG_LIBTRACEEVENT=y- The python binding needed some fixups and util/trace-event.c can&apos;t be  built and linked with the python binding shared object, so remove it  in tools/perf/util/setup.py and exclude it from the list of  dependencies in the python/perf.so Makefile.perf target.Building without libtraceevent-devel installed uncovered more buildfailures:- The python binding tools/perf/util/python.c was assuming that  traceevent/parse-events.h was always available, which was the case  when we defaulted to using the in-kernel tools/lib/traceevent/ files,  now we need to enclose it under ifdef HAVE_LIBTRACEEVENT, just like  the other parts of it that deal with tracepoints.- We have to ifdef the rules in the Build files with  CONFIG_LIBTRACEEVENT=y to build builtin-trace.c and  tools/perf/trace/beauty/ as we only ifdef setting CONFIG_TRACE=y when  setting NO_LIBTRACEEVENT=1 in the make command line, not when we don&apos;t  detect libtraceevent-devel installed in the system. Simplification here  to avoid these two ways of disabling builtin-trace.c and not having  CONFIG_TRACE=y when libtraceevent-devel isn&apos;t installed is the clean  way.From Athira:&lt;quote&gt;tools/perf/arch/powerpc/util/Build-perf-y += kvm-stat.o+perf-$(CONFIG_LIBTRACEEVENT) += kvm-stat.o&lt;/quote&gt;Then, ditto for arm64 and s390, detected by container cross build tests.- s/390 uses test__checkevent_tracepoint() that is now only available if  HAVE_LIBTRACEEVENT is defined, enclose the callsite with ifder HAVE_LIBTRACEEVENT.Also from Athira:&lt;quote&gt;With this change, I could successfully compile in these environment:- Without libtraceevent-devel installed- With libtraceevent-devel installed- With &#8220;make NO_LIBTRACEEVENT=1&#8221;&lt;/quote&gt;Then, finally rename CONFIG_TRACEEVENT to CONFIG_LIBTRACEEVENT forconsistency with other libraries detected in tools/perf/.Signed-off-by: Ian Rogers &lt;irogers@google.com&gt;Tested-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;Tested-by: Athira Rajeev &lt;atrajeev@linux.vnet.ibm.com&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Nick Desaulniers &lt;ndesaulniers@google.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Stephane Eranian &lt;eranian@google.com&gt;Cc: bpf@vger.kernel.orgLink: http://lore.kernel.org/lkml/20221205225940.3079667-3-irogers@google.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux/tools/perf/arch/powerpc/util/Build</description>
        <pubDate>Mon, 05 Dec 2022 23:59:39 +0100</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>a5d20d42a2f2dc2b2f9e9361912062732414090d - perf symbol: Remove arch__symbols__fixup_end()</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/arch/powerpc/util/Build#a5d20d42a2f2dc2b2f9e9361912062732414090d</link>
        <description>perf symbol: Remove arch__symbols__fixup_end()Now the generic code can handle kallsyms fixup properly so no need tokeep the arch-functions anymore.Fixes: 3cf6a32f3f2a4594 (&quot;perf symbols: Fix symbol size calculation condition&quot;)Signed-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;Acked-by: Ian Rogers &lt;irogers@google.com&gt;Cc: Heiko Carstens &lt;hca@linux.ibm.com&gt;Cc: Ingo Molnar &lt;mingo@kernel.org&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: John Garry &lt;john.garry@huawei.com&gt;Cc: Leo Yan &lt;leo.yan@linaro.org&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Cc: Mathieu Poirier &lt;mathieu.poirier@linaro.org&gt;Cc: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Cc: Michael Petlan &lt;mpetlan@redhat.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Song Liu &lt;songliubraving@fb.com&gt;Cc: Will Deacon &lt;will@kernel.org&gt;Cc: linux-s390@vger.kernel.orgCc: linuxppc-dev@lists.ozlabs.orgLink: https://lore.kernel.org/r/20220416004048.1514900-4-namhyung@kernel.orgSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux/tools/perf/arch/powerpc/util/Build</description>
        <pubDate>Sat, 16 Apr 2022 02:40:48 +0200</pubDate>
        <dc:creator>Namhyung Kim &lt;namhyung@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>ff0bd0a33f257cc01c0b777c1423205e49049777 - perf powerpc: Add support for PERF_SAMPLE_WEIGHT_STRUCT</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/arch/powerpc/util/Build#ff0bd0a33f257cc01c0b777c1423205e49049777</link>
        <description>perf powerpc: Add support for PERF_SAMPLE_WEIGHT_STRUCTAdd arch specific arch_evsel__set_sample_weight() to set the newsample type for powerpc.Add arch specific arch_perf_parse_sample_weight() to store thesample-&gt;weight values depending on the sample type applied.if the new sample type (PERF_SAMPLE_WEIGHT_STRUCT) is applied,store only the lower 32 bits to sample-&gt;weight. If sample typeis &apos;PERF_SAMPLE_WEIGHT&apos;, store the full 64-bit to sample-&gt;weight.Signed-off-by: Athira Rajeev &lt;atrajeev@linux.vnet.ibm.com&gt;Reviewed-by: Madhavan Srinivasan &lt;maddy@linux.ibm.com&gt;Acked-by: Jiri Olsa &lt;jolsa@redhat.com&gt;Cc: Kajol Jain &lt;kjain@linux.ibm.com&gt;Cc: Kan Liang &lt;kan.liang@linux.intel.com&gt;Cc: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Ravi Bangoria &lt;ravi.bangoria@linux.ibm.com&gt;Link: https://lore.kernel.org/r/1616425047-1666-4-git-send-email-atrajeev@linux.vnet.ibm.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux/tools/perf/arch/powerpc/util/Build</description>
        <pubDate>Mon, 22 Mar 2021 15:57:25 +0100</pubDate>
        <dc:creator>Athira Rajeev &lt;atrajeev@linux.vnet.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>557c3eadb7712741ec2d8c6a274dc8ec2edf4026 - perf powerpc: Fix gap between kernel end and module start</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/arch/powerpc/util/Build#557c3eadb7712741ec2d8c6a274dc8ec2edf4026</link>
        <description>perf powerpc: Fix gap between kernel end and module startRunning &quot;perf mem report&quot; in TUI mode fails with ENOMEM message inpowerpc:  failed to process sampleRunning with debug and verbose options points that issue is whileallocating memory for sample histograms.The error path is:  symbol__inc_addr_samples() -&gt;    __symbol__inc_addr_samples() -&gt;      annotated_source__histogram()symbol__inc_addr_samples() calls annotated_source__alloc_histograms ()to allocate memory for sample histograms using calloc(). Here calloc()fails since the size of symbol is huge. The size of a symbol iscalculated as difference between its start and end address.Example histogram allocation that fails is:  sym-&gt;name is _end  sym-&gt;start is 0xc0000000027a0000  sym-&gt;end is 0xc008000003890000  symbol__size(sym) is 0x80000010f0000In the above case, the difference between sym-&gt;start(0xc0000000027a0000) and sym-&gt;end (0xc008000003890000) is huge.This is same problem as in s390 and arm64 which are fixed in commits:  b9c0a64901d5 (&quot;perf annotate: Fix s390 gap between kernel end and module start&quot;)  78886f3ed37e (&quot;perf symbols: Fix arm64 gap between kernel start and module end&quot;)When this symbol was read first, its start and end address was set toaddress which matches with data from /proc/kallsyms.After symbol__new():  symbol__new: _end 0xc0000000027a0000-0xc0000000027a0000  From /proc/kallsyms:  ...  c000000002799370 b backtrace_flag  c000000002799378 B radix_tree_node_cachep  c000000002799380 B __bss_stop  c0000000027a0000 B _end  c008000003890000 t icmp_checkentry      [ip_tables]  c008000003890038 t ipt_alloc_initial_table      [ip_tables]  c008000003890468 T ipt_do_table [ip_tables]  c008000003890de8 T ipt_unregister_table_pre_exit        [ip_tables]  ...Perf calls function symbols__fixup_end() which sets the end of symbol to0xc008000003890000, which is the next address and this is the startaddress of first module (icmp_checkentry in above) which will make thehuge symbol size of 0x80000010f0000.After symbols__fixup_end:  symbols__fixup_end: sym-&gt;name: _end  sym-&gt;start: 0xc0000000027a0000  sym-&gt;end: 0xc008000003890000On powerpc, kernel text segment is located at 0xc000000000000000 whereasthe modules are located at very high memory addresses,0xc00800000xxxxxxx. Since the gap between end of kernel text segment andbeginning of first module&apos;s address is high, histogram allocation usingcalloc fails.Fix this by detecting the kernel&apos;s last symbol and limiting the range oflast kernel symbol to pagesize.Signed-off-by: Athira Rajeev&lt;atrajeev@linux.vnet.ibm.com&gt;Acked-by: Jiri Olsa &lt;jolsa@redhat.com&gt;Tested-By: Kajol Jain &lt;kjain@linux.ibm.com&gt;Cc: Madhavan Srinivasan &lt;maddy@linux.ibm.com&gt;Cc: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/1609208054-1566-1-git-send-email-atrajeev@linux.vnet.ibm.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux/tools/perf/arch/powerpc/util/Build</description>
        <pubDate>Tue, 29 Dec 2020 03:14:14 +0100</pubDate>
        <dc:creator>Athira Rajeev &lt;atrajeev@linux.vnet.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>39548e50e689edb76761a89e25ced7854795133d - perf powerpc: Don&apos;t ignore sym-handling.c file</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/arch/powerpc/util/Build#39548e50e689edb76761a89e25ced7854795133d</link>
        <description>perf powerpc: Don&apos;t ignore sym-handling.c fileCommit 7eec00a74720 (&quot;perf symbols: Consolidate symbol fixup issue&quot;)removed powerpc specific sym-handling.c file from Build. This wasn&apos;tcaught by build CI because all functions in this file are declaredas __weak in common code. Fix it.Fixes: 7eec00a74720 (&quot;perf symbols: Consolidate symbol fixup issue&quot;)Reported-by: Sandipan Das &lt;sandipan@linux.ibm.com&gt;Signed-off-by: Ravi Bangoria &lt;ravi.bangoria@linux.ibm.com&gt;Reviewed-by: Leo Yan &lt;leo.yan@linaro.org&gt;Reviewed-by: Naveen N. Rao &lt;naveen.n.rao@linux.vnet.ibm.com&gt;Acked-by: Sandipan Das &lt;sandipan@linux.ibm.com&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Link: http://lore.kernel.org/lkml/20200509112113.174745-1-ravi.bangoria@linux.ibm.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux/tools/perf/arch/powerpc/util/Build</description>
        <pubDate>Sat, 09 May 2020 13:21:13 +0200</pubDate>
        <dc:creator>Ravi Bangoria &lt;ravi.bangoria@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>7eec00a74720d35b6d89505350e5b08ecef376c0 - perf symbols: Consolidate symbol fixup issue</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/arch/powerpc/util/Build#7eec00a74720d35b6d89505350e5b08ecef376c0</link>
        <description>perf symbols: Consolidate symbol fixup issueAfter copying Arm64&apos;s perf archive with object files and perf.data fileto x86 laptop, the x86&apos;s perf kernel symbol resolution fails.  Itoutputs &apos;unknown&apos; for all symbols parsing.This issue is root caused by the function elf__needs_adjust_symbols(),x86 perf tool uses one weak version, Arm64 (and powerpc) has rewrittentheir own version.  elf__needs_adjust_symbols() decides if need to parsesymbols with the relative offset address; but x86 building uses the weakfunction which misses to check for the elf type &apos;ET_DYN&apos;, so that itcannot parse symbols in Arm DSOs due to the wrong result fromelf__needs_adjust_symbols().The DSO parsing should not depend on any specific architecture perfbuilding; e.g. x86 perf tool can parse Arm and Arm64 DSOs, vice versa.And confirmed by Naveen N. Rao that powerpc64 kernels are not beingbuilt as ET_DYN anymore and change to ET_EXEC.This patch removes the arch specific functions for Arm64 and powerpc andchanges elf__needs_adjust_symbols() as a common function.In the common elf__needs_adjust_symbols(), it checks an extra condition&apos;ET_DYN&apos; for elf header type.  With this fixing, the Arm64 DSO can beparsed properly with x86&apos;s perf tool.Before:  # perf script  main 3258 1 branches:                0 [unknown] ([unknown]) =&gt; ffff800010c4665c [unknown] ([kernel.kallsyms])  main 3258 1 branches: ffff800010c46670 [unknown] ([kernel.kallsyms]) =&gt; ffff800010c4eaec [unknown] ([kernel.kallsyms])  main 3258 1 branches: ffff800010c4eaec [unknown] ([kernel.kallsyms]) =&gt; ffff800010c4eb00 [unknown] ([kernel.kallsyms])  main 3258 1 branches: ffff800010c4eb08 [unknown] ([kernel.kallsyms]) =&gt; ffff800010c4e780 [unknown] ([kernel.kallsyms])  main 3258 1 branches: ffff800010c4e7a0 [unknown] ([kernel.kallsyms]) =&gt; ffff800010c4eeac [unknown] ([kernel.kallsyms])  main 3258 1 branches: ffff800010c4eebc [unknown] ([kernel.kallsyms]) =&gt; ffff800010c4ed80 [unknown] ([kernel.kallsyms])After:  # perf script  main 3258 1 branches:                0 [unknown] ([unknown]) =&gt; ffff800010c4665c coresight_timeout+0x54 ([kernel.kallsyms])  main 3258 1 branches: ffff800010c46670 coresight_timeout+0x68 ([kernel.kallsyms]) =&gt; ffff800010c4eaec etm4_enable_hw+0x3cc ([kernel.kallsyms])  main 3258 1 branches: ffff800010c4eaec etm4_enable_hw+0x3cc ([kernel.kallsyms]) =&gt; ffff800010c4eb00 etm4_enable_hw+0x3e0 ([kernel.kallsyms])  main 3258 1 branches: ffff800010c4eb08 etm4_enable_hw+0x3e8 ([kernel.kallsyms]) =&gt; ffff800010c4e780 etm4_enable_hw+0x60 ([kernel.kallsyms])  main 3258 1 branches: ffff800010c4e7a0 etm4_enable_hw+0x80 ([kernel.kallsyms]) =&gt; ffff800010c4eeac etm4_enable+0x2d4 ([kernel.kallsyms])  main 3258 1 branches: ffff800010c4eebc etm4_enable+0x2e4 ([kernel.kallsyms]) =&gt; ffff800010c4ed80 etm4_enable+0x1a8 ([kernel.kallsyms])v3: Changed to check for ET_DYN across all architectures.v2: Fixed Arm64 and powerpc native building.Reported-by: Mike Leach &lt;mike.leach@linaro.org&gt;Signed-off-by: Leo Yan &lt;leo.yan@linaro.org&gt;Reviewed-by: Naveen N. Rao &lt;naveen.n.rao@linux.vnet.ibm.com&gt;Acked-by: Jiri Olsa &lt;jolsa@redhat.com&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Allison Randal &lt;allison@lohutok.net&gt;Cc: Enrico Weigelt &lt;info@metux.net&gt;Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;Cc: Hendrik Brueckner &lt;brueckner@linux.vnet.ibm.com&gt;Cc: John Garry &lt;john.garry@huawei.com&gt;Cc: Kate Stewart &lt;kstewart@linuxfoundation.org&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Mathieu Poirier &lt;mathieu.poirier@linaro.org&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;Cc: Thomas Richter &lt;tmricht@linux.vnet.ibm.com&gt;Link: http://lore.kernel.org/lkml/20200306015759.10084-1-leo.yan@linaro.orgSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux/tools/perf/arch/powerpc/util/Build</description>
        <pubDate>Fri, 06 Mar 2020 02:57:58 +0100</pubDate>
        <dc:creator>Leo Yan &lt;leo.yan@linaro.org&gt;</dc:creator>
    </item>
<item>
        <title>5ff328836dfde0cef9f28c8b8791a90a36d7a183 - perf tools: Rename build libperf to perf</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/arch/powerpc/util/Build#5ff328836dfde0cef9f28c8b8791a90a36d7a183</link>
        <description>perf tools: Rename build libperf to perfRename build libperf to perf, because it&apos;s used to build perf.The libperf build object name will be used for libperf library.Signed-off-by: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Link: http://lkml.kernel.org/r/20190213123246.4015-4-jolsa@kernel.orgSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux/tools/perf/arch/powerpc/util/Build</description>
        <pubDate>Wed, 13 Feb 2019 13:32:39 +0100</pubDate>
        <dc:creator>Jiri Olsa &lt;jolsa@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>f0fabf9c897327abd39018aefb5029aff8c7e133 - perf mem/c2c: Fix perf_mem_events to support powerpc</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/arch/powerpc/util/Build#f0fabf9c897327abd39018aefb5029aff8c7e133</link>
        <description>perf mem/c2c: Fix perf_mem_events to support powerpcPowerPC hardware does not have a builtin latency filter (--ldlat) forthe &quot;mem-load&quot; event and perf_mem_events by default includes&quot;/ldlat=30/&quot; which is causing a failure on PowerPC. Refactor the code tosupport &quot;perf mem/c2c&quot; on PowerPC.This patch depends on kernel side changes done my Madhavan:https://lists.ozlabs.org/pipermail/linuxppc-dev/2018-December/182596.htmlSigned-off-by: Ravi Bangoria &lt;ravi.bangoria@linux.ibm.com&gt;Acked-by: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: Dick Fowles &lt;fowles@inreach.com&gt;Cc: Don Zickus &lt;dzickus@redhat.com&gt;Cc: Joe Mario &lt;jmario@redhat.com&gt;Cc: Madhavan Srinivasan &lt;maddy@linux.vnet.ibm.com&gt;Cc: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: linuxppc-dev@lists.ozlabs.orgLink: http://lkml.kernel.org/r/20190129132412.771-1-ravi.bangoria@linux.ibm.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux/tools/perf/arch/powerpc/util/Build</description>
        <pubDate>Tue, 29 Jan 2019 14:24:12 +0100</pubDate>
        <dc:creator>Ravi Bangoria &lt;ravi.bangoria@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>a7f0fda085870312ab694b19a1304ece161a1217 - perf unwind: Support for powerpc</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/perf/arch/powerpc/util/Build#a7f0fda085870312ab694b19a1304ece161a1217</link>
        <description>perf unwind: Support for powerpcPorting PPC to libdw only needs an architecture-specific hook to movethe register state from perf to libdw.The ARM and x86 architectures already use libdw, and it is useful tohave as much common code for the unwinder as possible.  Mark Wielaardhas contributed a frame-based unwinder to libdw, so that unwinding workseven for binaries that do not have CFI information.  In addition,libunwind is always preferred to libdw by the build machinery so thiscannot introduce regressions on machines that have both libunwind andlibdw installed.Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;Acked-by: Jiri Olsa &lt;jolsa@kernel.org&gt;Acked-by: Milian Wolff &lt;milian.wolff@kdab.com&gt;Acked-by: Ravi Bangoria &lt;ravi.bangoria@linux.vnet.ibm.com&gt;Cc: Naveen N. Rao &lt;naveen.n.rao@linux.vnet.ibm.com&gt;Cc: linuxppc-dev@lists.ozlabs.orgLink: http://lkml.kernel.org/r/1496312681-20133-1-git-send-email-pbonzini@redhat.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux/tools/perf/arch/powerpc/util/Build</description>
        <pubDate>Thu, 01 Jun 2017 12:24:41 +0200</pubDate>
        <dc:creator>Paolo Bonzini &lt;pbonzini@redhat.com&gt;</dc:creator>
    </item>
</channel>
</rss>
