<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in header.h</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>494c403f - perf header: Pass a perf_cpu rather than a PMU to get_cpuid_str</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/header.h#494c403f</link>
        <description>perf header: Pass a perf_cpu rather than a PMU to get_cpuid_strOn ARM the cpuid is dependent on the core type of the CPU inquestion. The PMU was passed for the sake of the CPU map but thismeans in places a temporary PMU is created just to pass a CPUvalue. Just pass the CPU and fix up the callers.As there are no longer PMU users in header.h, shuffle forwarddeclarations earlier to work around build failures.Reviewed-by: James Clark &lt;james.clark@linaro.org&gt;Signed-off-by: Ian Rogers &lt;irogers@google.com&gt;Tested-by: Xu Yang &lt;xu.yang_2@nxp.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;alexghiti@rivosinc.com&gt;Cc: Athira Rajeev &lt;atrajeev@linux.vnet.ibm.com&gt;Cc: Ben Zong-You Xie &lt;ben717@andestech.com&gt;Cc: Benjamin Gray &lt;bgray@linux.ibm.com&gt;Cc: Bibo Mao &lt;maobibo@loongson.cn&gt;Cc: Cl&#233;ment Le Goffic &lt;clement.legoffic@foss.st.com&gt;Cc: Dima Kogan &lt;dima@secretsauce.net&gt;Cc: Dr. David Alan Gilbert &lt;linux@treblig.org&gt;Cc: Huacai Chen &lt;chenhuacai@kernel.org&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: John Garry &lt;john.g.garry@oracle.com&gt;Cc: Kan Liang &lt;kan.liang@linux.intel.com&gt;Cc: Leo Yan &lt;leo.yan@linux.dev&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Masami Hiramatsu &lt;mhiramat@kernel.org&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;paul.walmsley@sifive.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Ravi Bangoria &lt;ravi.bangoria@amd.com&gt;Cc: Sandipan Das &lt;sandipan.das@amd.com&gt;Cc: Will Deacon &lt;will@kernel.org&gt;Cc: Yicong Yang &lt;yangyicong@hisilicon.com&gt;Cc: linux-arm-kernel@lists.infradead.orgCc: linux-riscv@lists.infradead.orgLink: https://lore.kernel.org/r/20241107162035.52206-7-irogers@google.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/header.h</description>
        <pubDate>Thu, 07 Nov 2024 16:20:33 +0000</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>538737da - perf arm64 header: Use cpu argument in get_cpuid</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/header.h#538737da</link>
        <description>perf arm64 header: Use cpu argument in get_cpuidUse the cpu to read the MIDR file requested. If the &quot;any&quot; value (-1) ispassed that keep the behavior of returning the first MIDR file that canbe read.Reviewed-by: James Clark &lt;james.clark@linaro.org&gt;Signed-off-by: Ian Rogers &lt;irogers@google.com&gt;Tested-by: Xu Yang &lt;xu.yang_2@nxp.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;alexghiti@rivosinc.com&gt;Cc: Athira Rajeev &lt;atrajeev@linux.vnet.ibm.com&gt;Cc: Ben Zong-You Xie &lt;ben717@andestech.com&gt;Cc: Benjamin Gray &lt;bgray@linux.ibm.com&gt;Cc: Bibo Mao &lt;maobibo@loongson.cn&gt;Cc: Cl&#233;ment Le Goffic &lt;clement.legoffic@foss.st.com&gt;Cc: Dima Kogan &lt;dima@secretsauce.net&gt;Cc: Dr. David Alan Gilbert &lt;linux@treblig.org&gt;Cc: Huacai Chen &lt;chenhuacai@kernel.org&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: John Garry &lt;john.g.garry@oracle.com&gt;Cc: Kan Liang &lt;kan.liang@linux.intel.com&gt;Cc: Leo Yan &lt;leo.yan@linux.dev&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Masami Hiramatsu &lt;mhiramat@kernel.org&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;paul.walmsley@sifive.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Ravi Bangoria &lt;ravi.bangoria@amd.com&gt;Cc: Sandipan Das &lt;sandipan.das@amd.com&gt;Cc: Will Deacon &lt;will@kernel.org&gt;Cc: Yicong Yang &lt;yangyicong@hisilicon.com&gt;Cc: linux-arm-kernel@lists.infradead.orgCc: linux-riscv@lists.infradead.orgLink: https://lore.kernel.org/r/20241107162035.52206-5-irogers@google.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/header.h</description>
        <pubDate>Thu, 07 Nov 2024 16:20:31 +0000</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>cec0d657 - perf header: Refactor get_cpuid to take a CPU for ARM</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/header.h#cec0d657</link>
        <description>perf header: Refactor get_cpuid to take a CPU for ARMARM BIG.little has no notion of a constant CPUID for both coretypes. To reflect this reality, change the get_cpuid function to alsopass in a possibly unused logical cpu.If the dummy value (-1) is passed in then ARM can, as currently happens,select the first logical CPU&apos;s &quot;CPUID&quot;.The changes to ARM getcpuid happen in a follow up change.Reviewed-by: James Clark &lt;james.clark@linaro.org&gt;Signed-off-by: Ian Rogers &lt;irogers@google.com&gt;Tested-by: Xu Yang &lt;xu.yang_2@nxp.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;alexghiti@rivosinc.com&gt;Cc: Athira Rajeev &lt;atrajeev@linux.vnet.ibm.com&gt;Cc: Ben Zong-You Xie &lt;ben717@andestech.com&gt;Cc: Benjamin Gray &lt;bgray@linux.ibm.com&gt;Cc: Bibo Mao &lt;maobibo@loongson.cn&gt;Cc: Cl&#233;ment Le Goffic &lt;clement.legoffic@foss.st.com&gt;Cc: Dima Kogan &lt;dima@secretsauce.net&gt;Cc: Dr. David Alan Gilbert &lt;linux@treblig.org&gt;Cc: Huacai Chen &lt;chenhuacai@kernel.org&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: John Garry &lt;john.g.garry@oracle.com&gt;Cc: Kan Liang &lt;kan.liang@linux.intel.com&gt;Cc: Leo Yan &lt;leo.yan@linux.dev&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Masami Hiramatsu &lt;mhiramat@kernel.org&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;paul.walmsley@sifive.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Ravi Bangoria &lt;ravi.bangoria@amd.com&gt;Cc: Sandipan Das &lt;sandipan.das@amd.com&gt;Cc: Will Deacon &lt;will@kernel.org&gt;Cc: Yicong Yang &lt;yangyicong@hisilicon.com&gt;Cc: linux-arm-kernel@lists.infradead.orgCc: linux-riscv@lists.infradead.orgLink: https://lore.kernel.org/r/20241107162035.52206-4-irogers@google.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/header.h</description>
        <pubDate>Thu, 07 Nov 2024 16:20:30 +0000</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>c6fafe36 - perf header: Move is_cpu_online to numa bench</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/header.h#c6fafe36</link>
        <description>perf header: Move is_cpu_online to numa benchThe helper function is only used in the NUMA benchmark as typicallyonline CPUs are determined through perf_cpu_map__new_online_cpus().Reduce the scope of the function for now.Reviewed-by: James Clark &lt;james.clark@linaro.org&gt;Signed-off-by: Ian Rogers &lt;irogers@google.com&gt;Tested-by: Xu Yang &lt;xu.yang_2@nxp.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;alexghiti@rivosinc.com&gt;Cc: Athira Rajeev &lt;atrajeev@linux.vnet.ibm.com&gt;Cc: Ben Zong-You Xie &lt;ben717@andestech.com&gt;Cc: Benjamin Gray &lt;bgray@linux.ibm.com&gt;Cc: Bibo Mao &lt;maobibo@loongson.cn&gt;Cc: Cl&#233;ment Le Goffic &lt;clement.legoffic@foss.st.com&gt;Cc: Dima Kogan &lt;dima@secretsauce.net&gt;Cc: Dr. David Alan Gilbert &lt;linux@treblig.org&gt;Cc: Huacai Chen &lt;chenhuacai@kernel.org&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: John Garry &lt;john.g.garry@oracle.com&gt;Cc: Kan Liang &lt;kan.liang@linux.intel.com&gt;Cc: Leo Yan &lt;leo.yan@linux.dev&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Masami Hiramatsu &lt;mhiramat@kernel.org&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;paul.walmsley@sifive.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Ravi Bangoria &lt;ravi.bangoria@amd.com&gt;Cc: Sandipan Das &lt;sandipan.das@amd.com&gt;Cc: Will Deacon &lt;will@kernel.org&gt;Cc: Yicong Yang &lt;yangyicong@hisilicon.com&gt;Cc: linux-arm-kernel@lists.infradead.orgCc: linux-riscv@lists.infradead.orgLink: https://lore.kernel.org/r/20241107162035.52206-3-irogers@google.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/header.h</description>
        <pubDate>Thu, 07 Nov 2024 16:20:29 +0000</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>2d57c32b - perf header: Remove repipe option</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/header.h#2d57c32b</link>
        <description>perf header: Remove repipe optionNo longer used by `perf inject` the repipe_fd is always -1 and repipeis always false. Remove the options and associated code knowing theconstant values of the removed variables.Signed-off-by: Ian Rogers &lt;irogers@google.com&gt;Cc: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.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: Kan Liang &lt;kan.liang@linux.intel.com&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Nick Terrell &lt;terrelln@fb.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Yanteng Si &lt;siyanteng@loongson.cn&gt;Cc: Yicong Yang &lt;yangyicong@hisilicon.com&gt;Link: https://lore.kernel.org/r/20240829150154.37929-8-irogers@google.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/header.h</description>
        <pubDate>Thu, 29 Aug 2024 15:01:53 +0000</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>89d64e72 - perf inject: Overhaul handling of pipe files</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/header.h#89d64e72</link>
        <description>perf inject: Overhaul handling of pipe filesPreviously inject-&gt;is_pipe was set if the input or output were apipe. Determining the input was a pipe had to be done prior tostarting the session and opening the file. This was done by comparingthe input file name with &apos;-&apos; but it fails if the pipe file is writtento disk.Opening a pipe file from disk will correctly set perf_data.is_pipe, butthis is too late for &apos;perf inject&apos; and results in a broken file. Aworkaround is &apos;cat pipe_perf|perf inject -i - ...&apos;.This change removes inject-&gt;is_pipe and changes the dependentconditions to use the is_pipe flag on the input(inject-&gt;session-&gt;data) and output files (inject-&gt;output). Thisensures the is_pipe condition reflects things like the header beingread.The change removes the use of perf file header repiping, that iswriting the file header out while reading it in. The case of inputpipe and output file cannot repipe as the attributes for the file areunknown. To resolve this, write the file header when writing to diskand as the attributes may be unknown, write them after the data.Update sessions repipe variable to be trace_event_repipe as those arethe only events now impacted by it. Update __perf_session__new as therepipe_fd no longer needs passing. Fully removing repipe from sessionheader reading will be done in a later change.Committer testing:  root@number:~# perf record -e syscalls:sys_enter_*sleep/max-stack=4/ -o - sleep 0.01 | perf report -i -  # To display the perf.data header info, please use --header/--header-only options.  #  [ perf record: Woken up 1 times to write data ]  [ perf record: Captured and wrote 0.050 MB - ]  #  # Total Lost Samples: 0  #  # Samples: 1  of event &apos;syscalls:sys_enter_clock_nanosleep&apos;  # Event count (approx.): 1  #  # Overhead  Command  Shared Object  Symbol  # ........  .......  .............  ...............................  #     100.00%  sleep    libc.so.6      [.] clock_nanosleep@GLIBC_2.2.5              |              ---__libc_start_main@@GLIBC_2.34                 __libc_start_call_main                 0x562fc2560a9f                 clock_nanosleep@GLIBC_2.2.5  #  # (Tip: Create an archive with symtabs to analyse on other machine: perf archive)  #  root@number:~# perf record -e syscalls:sys_enter_*sleep/max-stack=4/ -o - sleep 0.01 &gt; pipe.data  [ perf record: Woken up 1 times to write data ]  [ perf record: Captured and wrote 0.050 MB - ]  root@number:~# perf report --stdio -i pipe.data  # To display the perf.data header info, please use --header/--header-only options.  #  #  # Total Lost Samples: 0  #  # Samples: 1  of event &apos;syscalls:sys_enter_clock_nanosleep&apos;  # Event count (approx.): 1  #  # Overhead  Command  Shared Object  Symbol  # ........  .......  .............  ...............................  #     100.00%  sleep    libc.so.6      [.] clock_nanosleep@GLIBC_2.2.5              |              ---__libc_start_main@@GLIBC_2.34                 __libc_start_call_main                 0x55f775975a9f                 clock_nanosleep@GLIBC_2.2.5  #  # (Tip: To set sampling period of individual events use perf record -e cpu/cpu-cycles,period=100001/,cpu/branches,period=10001/ ...)  #  root@number:~#Signed-off-by: Ian Rogers &lt;irogers@google.com&gt;Tested-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;Cc: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.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: Kan Liang &lt;kan.liang@linux.intel.com&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Nick Terrell &lt;terrelln@fb.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Yanteng Si &lt;siyanteng@loongson.cn&gt;Cc: Yicong Yang &lt;yangyicong@hisilicon.com&gt;Link: https://lore.kernel.org/r/20240829150154.37929-7-irogers@google.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/header.h</description>
        <pubDate>Thu, 29 Aug 2024 15:01:52 +0000</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>d71bbe79 - perf header: Add kerneldoc to &apos;struct perf_file_header&apos;</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/header.h#d71bbe79</link>
        <description>perf header: Add kerneldoc to &apos;struct perf_file_header&apos;Some of the values are a little strange so add documentation toresolve ambiguity.Signed-off-by: Ian Rogers &lt;irogers@google.com&gt;Cc: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.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: Kan Liang &lt;kan.liang@linux.intel.com&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Nick Terrell &lt;terrelln@fb.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Yanteng Si &lt;siyanteng@loongson.cn&gt;Cc: Yicong Yang &lt;yangyicong@hisilicon.com&gt;Link: https://lore.kernel.org/r/20240829150154.37929-4-irogers@google.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/header.h</description>
        <pubDate>Thu, 29 Aug 2024 15:01:49 +0000</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>30f29bae - perf tool: Constify tool pointers</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/header.h#30f29bae</link>
        <description>perf tool: Constify tool pointersThe tool pointer (to a struct largely of function pointers) is passedaround but is unchanged except at initialization. Change parameter andvariable types to be const to lower the possibilities of what couldhappen with a tool.Reviewed-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Signed-off-by: Ian Rogers &lt;irogers@google.com&gt;Tested-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Tested-by: Leo Yan &lt;leo.yan@arm.com&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Anshuman Khandual &lt;anshuman.khandual@arm.com&gt;Cc: Athira Rajeev &lt;atrajeev@linux.vnet.ibm.com&gt;Cc: Huacai Chen &lt;chenhuacai@kernel.org&gt;Cc: Ilkka Koskinen &lt;ilkka@os.amperecomputing.com&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: James Clark &lt;james.clark@arm.com&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: John Garry &lt;john.g.garry@oracle.com&gt;Cc: Jonathan Cameron &lt;jonathan.cameron@huawei.com&gt;Cc: Kan Liang &lt;kan.liang@linux.intel.com&gt;Cc: Leo Yan &lt;leo.yan@linux.dev&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Mike Leach &lt;mike.leach@linaro.org&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Nick Desaulniers &lt;ndesaulniers@google.com&gt;Cc: Nick Terrell &lt;terrelln@fb.com&gt;Cc: Oliver Upton &lt;oliver.upton@linux.dev&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Song Liu &lt;song@kernel.org&gt;Cc: Sun Haiyong &lt;sunhaiyong@loongson.cn&gt;Cc: Suzuki Poulouse &lt;suzuki.poulose@arm.com&gt;Cc: Will Deacon &lt;will@kernel.org&gt;Cc: Yanteng Si &lt;siyanteng@loongson.cn&gt;Cc: Yicong Yang &lt;yangyicong@hisilicon.com&gt;Cc: linux-arm-kernel@lists.infradead.orgLink: https://lore.kernel.org/r/20240812204720.631678-4-irogers@google.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/header.h</description>
        <pubDate>Mon, 12 Aug 2024 20:46:55 +0000</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>2b72cec9 - perf: Extract building cache level for a CPU into separate function</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/header.h#2b72cec9</link>
        <description>perf: Extract building cache level for a CPU into separate functionbuild_caches() builds the complete cache topology of the system byiterating over all CPU, building and comparing cache levels of each CPU,keeping only the unique ones at the end.Extract the unit that build the cache levels for a single CPU into aseparate function. Expose this function, and the MAX_CACHE_LVL value tobe used elsewhere in perf too.Signed-off-by: K Prateek Nayak &lt;kprateek.nayak@amd.com&gt;Acked-by: Ian Rogers &lt;irogers@google.com&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Ananth Narayan &lt;ananth.narayan@amd.com&gt;Cc: Gautham Shenoy &lt;gautham.shenoy@amd.com&gt;Cc: Ingo Molnar &lt;mingo@redhat.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: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Ravi Bangoria &lt;ravi.bangoria@amd.com&gt;Cc: Sandipan Das &lt;sandipan.das@amd.com&gt;Cc: Stephane Eranian &lt;eranian@google.com&gt;Cc: Wen Pu &lt;puwen@hygon.cn&gt;Link: https://lore.kernel.org/r/20230517172745.5833-2-kprateek.nayak@amd.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/header.h</description>
        <pubDate>Wed, 17 May 2023 17:27:41 +0000</pubDate>
        <dc:creator>K Prateek Nayak &lt;kprateek.nayak@amd.com&gt;</dc:creator>
    </item>
<item>
        <title>8641661c - perf header: Move perf_version_string declaration</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/header.h#8641661c</link>
        <description>perf header: Move perf_version_string declarationMove to match the definition in header.c.Signed-off-by: Ian Rogers &lt;irogers@google.com&gt;Cc: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Athira Rajeev &lt;atrajeev@linux.vnet.ibm.com&gt;Cc: Chengdong Li &lt;chengdongli@tencent.com&gt;Cc: Denis Nikitin &lt;denik@chromium.org&gt;Cc: Florian Fischer &lt;florian.fischer@muhq.space&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: James Clark &lt;james.clark@arm.com&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: John Garry &lt;john.g.garry@oracle.com&gt;Cc: Kan Liang &lt;kan.liang@linux.intel.com&gt;Cc: Leo Yan &lt;leo.yan@linaro.org&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Martin Li&#353;ka &lt;mliska@suse.cz&gt;Cc: Mathieu Poirier &lt;mathieu.poirier@linaro.org&gt;Cc: Mike Leach &lt;mike.leach@linaro.org&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Raul Silvera &lt;rsilvera@google.com&gt;Cc: Ravi Bangoria &lt;ravi.bangoria@amd.com&gt;Cc: Rob Herring &lt;robh@kernel.org&gt;Cc: Sean Christopherson &lt;seanjc@google.com&gt;Cc: Suzuki Poulouse &lt;suzuki.poulose@arm.com&gt;Cc: Will Deacon &lt;will@kernel.org&gt;Cc: Xing Zhengjun &lt;zhengjun.xing@linux.intel.com&gt;Cc: coresight@lists.linaro.orgCc: linux-arm-kernel@lists.infradead.orgLink: https://lore.kernel.org/r/20230410162511.3055900-2-irogers@google.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/header.h</description>
        <pubDate>Mon, 10 Apr 2023 16:25:08 +0000</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>378ef0f5 - perf build: Use libtraceevent from the system</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/header.h#378ef0f5</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-6.15/tools/perf/util/header.h</description>
        <pubDate>Mon, 05 Dec 2022 22:59:39 +0000</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>37ed2cdd - perf inject: Adjust output data offset for backward compatibility</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/header.h#37ed2cdd</link>
        <description>perf inject: Adjust output data offset for backward compatibilityWhen &apos;perf inject&apos; creates a new file, it reuses the data offset fromthe input file. If there has been a change on the size of the header, ashappened in v5.12 -&gt; v5.13, the new offsets will be wrong, resulting ina corrupted output file.This change adds the function perf_session__data_offset to compute thedata offset based on the current header size, and uses that instead ofthe offset from the original input file.Signed-off-by: Raul Silvera &lt;rsilvera@google.com&gt;Acked-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Athira Jajeev &lt;atrajeev@linux.vnet.ibm.com&gt;Cc: Colin Ian King &lt;colin.king@intel.com&gt;Cc: Dave Marchevsky &lt;davemarchevsky@fb.com&gt;Cc: Ian Rogers &lt;irogers@google.com&gt;Cc: Ingo Molnar &lt;mingo@redhat.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: Peter Zijlstra &lt;peterz@infradead.org&gt;Link: https://lore.kernel.org/r/20220621152725.2668041-1-rsilvera@google.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/header.h</description>
        <pubDate>Tue, 21 Jun 2022 15:27:25 +0000</pubDate>
        <dc:creator>Raul Silvera &lt;rsilvera@google.com&gt;</dc:creator>
    </item>
<item>
        <title>2139f742 - perf header: Record non-CPU PMU capabilities</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/header.h#2139f742</link>
        <description>perf header: Record non-CPU PMU capabilitiesPMUs advertise their capabilities via sysfs attribute files butthe perf tool currently parses only core(CPU) or hybrid core PMUcapabilities. Add support of recording non-core PMU capabilitiesint perf.data header.Note that a newly proposed HEADER_PMU_CAPS is replacing existingHEADER_HYBRID_CPU_PMU_CAPS. Special care is taken for hybrid corePMUs by writing their capabilities first in the perf.data headerto make sure new perf.data file being read by old perf tool doesnot break.Reviewed-by: Kan Liang &lt;kan.liang@linux.intel.com&gt;Signed-off-by: Ravi Bangoria &lt;ravi.bangoria@amd.com&gt;Acked-by: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Ananth Narayan &lt;ananth.narayan@amd.com&gt;Cc: Andi Kleen &lt;ak@linux.intel.com&gt;Cc: Borislav Petkov &lt;bp@alien8.de&gt;Cc: Ian Rogers &lt;irogers@google.com&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: James Clark &lt;james.clark@arm.com&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: Kim Phillips &lt;kim.phillips@amd.com&gt;Cc: Leo Yan &lt;leo.yan@linaro.org&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Robert Richter &lt;rrichter@amd.com&gt;Cc: Sandipan Das &lt;sandipan.das@amd.com&gt;Cc: Santosh Shukla &lt;santosh.shukla@amd.com&gt;Cc: Stephane Eranian &lt;eranian@google.com&gt;Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;Cc: like.xu.linux@gmail.comCc: x86@kernel.orgLink: https://lore.kernel.org/r/20220604044519.594-6-ravi.bangoria@amd.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/header.h</description>
        <pubDate>Sat, 04 Jun 2022 04:45:16 +0000</pubDate>
        <dc:creator>Ravi Bangoria &lt;ravi.bangoria@amd.com&gt;</dc:creator>
    </item>
<item>
        <title>180b3d06 - perf inject: Keep some features sections from input file</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/header.h#180b3d06</link>
        <description>perf inject: Keep some features sections from input fileperf inject overwrites feature sections with information from the currentmachine. It makes more sense to keep original information that describesthe machine or software when perf record was run.Example: perf.data from &quot;Desktop&quot; injected on &quot;nuc11&quot; Before:  $ perf script --header-only -i perf.data-from-desktop | head -15  # ========  # captured on    : Thu May 19 09:55:50 2022  # header version : 1  # data offset    : 1208  # data size      : 837480  # feat offset    : 838688  # hostname : Desktop  # os release : 5.13.0-41-generic  # perf version : 5.18.rc5.gac837f7ca7ed  # arch : x86_64  # nrcpus online : 28  # nrcpus avail : 28  # cpudesc : Intel(R) Core(TM) i9-9940X CPU @ 3.30GHz  # cpuid : GenuineIntel,6,85,4  # total memory : 65548656 kB  $ perf inject -i perf.data-from-desktop -o injected-perf.data  $ perf script --header-only -i injected-perf.data | head -15  # ========  # captured on    : Fri May 20 15:06:55 2022  # header version : 1  # data offset    : 1208  # data size      : 837480  # feat offset    : 838688  # hostname : nuc11  # os release : 5.17.5-local  # perf version : 5.18.rc5.g0f828fdeb9af  # arch : x86_64  # nrcpus online : 8  # nrcpus avail : 8  # cpudesc : 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz  # cpuid : GenuineIntel,6,140,1  # total memory : 16012124 kB After:  $ perf inject -i perf.data-from-desktop -o injected-perf.data  $ perf script --header-only -i injected-perf.data | head -15  # ========  # captured on    : Fri May 20 15:08:54 2022  # header version : 1  # data offset    : 1208  # data size      : 837480  # feat offset    : 838688  # hostname : Desktop  # os release : 5.13.0-41-generic  # perf version : 5.18.rc5.gac837f7ca7ed  # arch : x86_64  # nrcpus online : 28  # nrcpus avail : 28  # cpudesc : Intel(R) Core(TM) i9-9940X CPU @ 3.30GHz  # cpuid : GenuineIntel,6,85,4  # total memory : 65548656 kBSigned-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Acked-by: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Link: https://lore.kernel.org/r/20220520132404.25853-4-adrian.hunter@intel.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/header.h</description>
        <pubDate>Fri, 20 May 2022 13:24:02 +0000</pubDate>
        <dc:creator>Adrian Hunter &lt;adrian.hunter@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>237c96b8 - perf header: Add ability to keep feature sections</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/header.h#237c96b8</link>
        <description>perf header: Add ability to keep feature sectionsMany feature sections should not be re-written during perf inject. Inpreparation to support that, add callbacks that a tool can use to copya feature section from elsewhere. perf inject will use this facility tocopy features sections from the input file.Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Acked-by: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Link: https://lore.kernel.org/r/20220520132404.25853-2-adrian.hunter@intel.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/header.h</description>
        <pubDate>Fri, 20 May 2022 13:24:00 +0000</pubDate>
        <dc:creator>Adrian Hunter &lt;adrian.hunter@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>8cb7a188 - perf bench: Fix numa testcase to check if CPU used to bind task is online</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/header.h#8cb7a188</link>
        <description>perf bench: Fix numa testcase to check if CPU used to bind task is onlinePerf numa bench test fails with error:Testcase:  ./perf bench numa mem -p 2 -t 1 -P 1024 -C 0,8 -M 1,0 -s 20 -zZq --thp  1 --no-data_rand_walkFailure snippet:&lt;&lt;&gt;&gt;  Running &apos;numa/mem&apos; benchmark:  # Running main, &quot;perf bench numa numa-mem -p 2 -t 1 -P 1024 -C 0,8 -M 1,0 -s 20 -zZq --thp 1 --no-data_rand_walk&quot;  perf: bench/numa.c:333: bind_to_cpumask: Assertion `!(ret)&apos; failed.&lt;&lt;&gt;&gt;The Testcases uses CPU&apos;s 0 and 8. In function &quot;parse_setup_cpu_list&quot;,There is check to see if cpu number is greater than max cpu&apos;s possiblein the system ie via &quot;if (bind_cpu_0 &gt;= g-&gt;p.nr_cpus || bind_cpu_1 &gt;=g-&gt;p.nr_cpus) {&quot;.But it could happen that system has say 48 CPU&apos;s, but only number ofonline CPU&apos;s is 0-7. Other CPU&apos;s are offlined. Since &quot;g-&gt;p.nr_cpus&quot; is48, so function will go ahead and set bit for CPU 8 also in cpumask (td-&gt;bind_cpumask).bind_to_cpumask function is called to set affinity usingsched_setaffinity and the cpumask. Since the CPU8 is not present, setaffinity will fail here with EINVAL.Fix this issue by adding a check to make sure that, CPU&apos;s provided inthe input argument values are online before proceeding further and skipthe test. For this, include new helper function &quot;is_cpu_online&quot; in&quot;tools/perf/util/header.c&quot;.Since &quot;BIT(x)&quot; definition will get included from header.h, removethat from bench/numa.cReported-by: Disha Goel &lt;disgoel@linux.vnet.ibm.com&gt;Signed-off-by: Athira Jajeev &lt;atrajeev@linux.vnet.ibm.com&gt;Tested-by: Disha Goel &lt;disgoel@linux.vnet.ibm.com&gt;Cc: Ian Rogers &lt;irogers@google.com&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: Kajol Jain &lt;kjain@linux.ibm.com&gt;Cc: Madhavan Srinivasan &lt;maddy@linux.vnet.ibm.com&gt;Cc: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Cc: Nageswara R Sastry &lt;rnsastry@linux.ibm.com&gt;Cc: Srikar Dronamraju &lt;srikar@linux.vnet.ibm.com&gt;Cc: linuxppc-dev@lists.ozlabs.orgLink: https://lore.kernel.org/r/20220412164059.42654-2-atrajeev@linux.vnet.ibm.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/header.h</description>
        <pubDate>Tue, 12 Apr 2022 16:40:58 +0000</pubDate>
        <dc:creator>Athira Rajeev &lt;atrajeev@linux.vnet.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>0ae03893 - perf tools: Pass a fd to perf_file_header__read_pipe()</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/header.h#0ae03893</link>
        <description>perf tools: Pass a fd to perf_file_header__read_pipe()Currently it unconditionally writes to stdout for repipe.  But perfinject can direct its output to a regular file.  Then it needs towrite the header to the file as well.Signed-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;Acked-by: Jiri Olsa &lt;jolsa@redhat.com&gt;Cc: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Cc: Andi Kleen &lt;ak@linux.intel.com&gt;Cc: Ian Rogers &lt;irogers@google.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Link: http://lore.kernel.org/lkml/20210719223153.1618812-3-namhyung@kernel.orgSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/header.h</description>
        <pubDate>Mon, 19 Jul 2021 22:31:50 +0000</pubDate>
        <dc:creator>Namhyung Kim &lt;namhyung@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>e119083b - perf header: Support HYBRID_CPU_PMU_CAPS feature</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/header.h#e119083b</link>
        <description>perf header: Support HYBRID_CPU_PMU_CAPS featurePerf has supported the CPU_PMU_CAPS feature to display a list of CPU PMUcapabilities. But on a hybrid platform, it may have several CPU PMUs (suchas &quot;cpu_core&quot; and &quot;cpu_atom&quot;). The CPU_PMU_CAPS feature is hard to extendto support multiple CPU PMUs well if it needs to be compatible for the caseof old perf data file + new perf tool.So for better compatibility we now create a new feature HYBRID_CPU_PMU_CAPSin the header.For the perf.data generated on hybrid platform,  root@otcpl-adl-s-2:~# perf report --header-only -I  # cpu_core pmu capabilities: branches=32, max_precise=3, pmu_name=alderlake_hybrid  # cpu_atom pmu capabilities: branches=32, max_precise=3, pmu_name=alderlake_hybrid  # missing features: TRACING_DATA BRANCH_STACK GROUP_DESC AUXTRACE STAT CLOCKID DIR_FORMAT COMPRESSED CPU_PMU_CAPS CLOCK_DATAFor the perf.data generated on non-hybrid platform  root@kbl-ppc:~# perf report --header-only -I  # cpu pmu capabilities: branches=32, max_precise=3, pmu_name=skylake  # missing features: TRACING_DATA BRANCH_STACK GROUP_DESC AUXTRACE STAT CLOCKID DIR_FORMAT COMPRESSED CLOCK_DATA HYBRID_TOPOLOGY HYBRID_CPU_PMU_CAPSSigned-off-by: Jin Yao &lt;yao.jin@linux.intel.com&gt;Acked-by: Jiri Olsa &lt;jolsa@redhat.com&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Andi Kleen &lt;ak@linux.intel.com&gt;Cc: Jin Yao &lt;yao.jin@intel.com&gt;Cc: Kan Liang &lt;kan.liang@linux.intel.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Link: http://lore.kernel.org/lkml/20210514122948.9472-3-yao.jin@linux.intel.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/header.h</description>
        <pubDate>Fri, 14 May 2021 12:29:48 +0000</pubDate>
        <dc:creator>Jin Yao &lt;yao.jin@linux.intel.com&gt;</dc:creator>
    </item>
<item>
        <title>f7d74ce3 - perf header: Support HYBRID_TOPOLOGY feature</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/header.h#f7d74ce3</link>
        <description>perf header: Support HYBRID_TOPOLOGY featureIt is useful to let the user know about the hybrid topology.Add the HYBRID_TOPOLOGY feature in header to indicate the core CPUsand the atom CPUs.With this patch a perf.data generated on a hybrid platform reportsthe hybrid CPU list:  root@otcpl-adl-s-2:~# perf report --header-only -I  ...  # hybrid cpu system:  # cpu_core cpu list : 0-15  # cpu_atom cpu list : 16-23For a perf.data generated on a non-hybrid platform, reports a messagethat HYBRID_TOPOLOGY is missing:  root@kbl-ppc:~# perf report --header-only -I  ...  # missing features: TRACING_DATA BRANCH_STACK GROUP_DESC AUXTRACE STAT CLOCKID DIR_FORMAT COMPRESSED CLOCK_DATA HYBRID_TOPOLOGYSigned-off-by: Jin Yao &lt;yao.jin@linux.intel.com&gt;Acked-by: Jiri Olsa &lt;jolsa@redhat.com&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Andi Kleen &lt;ak@linux.intel.com&gt;Cc: Jin Yao &lt;yao.jin@intel.com&gt;Cc: Kan Liang &lt;kan.liang@linux.intel.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Link: http://lore.kernel.org/lkml/20210514122948.9472-2-yao.jin@linux.intel.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/header.h</description>
        <pubDate>Fri, 14 May 2021 12:29:47 +0000</pubDate>
        <dc:creator>Jin Yao &lt;yao.jin@linux.intel.com&gt;</dc:creator>
    </item>
<item>
        <title>d1e325cf - perf header: Store clock references for -k/--clockid option</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/header.h#d1e325cf</link>
        <description>perf header: Store clock references for -k/--clockid optionAdd a new CLOCK_DATA feature that stores reference times when-k/--clockid option is specified.It contains the clock id and its reference time together with wall clocktime taken at the &apos;same time&apos;, both values are in nanoseconds.The format of data is as below:  struct {       u32 version;  /* version = 1 */       u32 clockid;       u64 wall_clock_ns;       u64 clockid_time_ns;  };This clock reference times will be used in following changes to displaywall clock for perf events.It&apos;s available only for recording with clockid specified, because it&apos;sthe only case where we can get reference time to wallclock time. It&apos;scan&apos;t do that with perf clock yet.Committer testing:  $ perf record -h -k   Usage: perf record [&lt;options&gt;] [&lt;command&gt;]      or: perf record [&lt;options&gt;] -- &lt;command&gt; [&lt;options&gt;]      -k, --clockid &lt;clockid&gt;                            clockid to use for events, see clock_gettime()  $ perf record -k monotonic sleep 1  [ perf record: Woken up 1 times to write data ]  [ perf record: Captured and wrote 0.017 MB perf.data (8 samples) ]  $ perf report --header-only | grep clockid -A1  # event : name = cycles:u, , id = { 88815, 88816, 88817, 88818, 88819, 88820, 88821, 88822 }, size = 120, { sample_period, sample_freq } = 4000, sample_type = IP|TID|TIME|PERIOD, read_format = ID, disabled = 1, inherit = 1, exclude_kernel = 1, mmap = 1, comm = 1, freq = 1, enable_on_exec = 1, task = 1, precise_ip = 3, sample_id_all = 1, exclude_guest = 1, mmap2 = 1, comm_exec = 1, use_clockid = 1, ksymbol = 1, bpf_event = 1, clockid = 1  # CPU_TOPOLOGY info available, use -I to display  --  # clockid frequency: 1000 MHz  # cpu pmu capabilities: branches=32, max_precise=3, pmu_name=skylake  # clockid: monotonic (1)  # reference time: 2020-08-06 09:40:21.619290 = 1596717621.619290 (TOD) = 21931.077673635 (monotonic)  $Original-patch-by: David Ahern &lt;dsahern@gmail.com&gt;Signed-off-by: Jiri Olsa &lt;jolsa@kernel.org&gt;Tested-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Andi Kleen &lt;ak@linux.intel.com&gt;Cc: David Ahern &lt;dsahern@gmail.com&gt;Cc: Genevi&#232;ve Bastien &lt;gbastien@versatic.net&gt;Cc: Ian Rogers &lt;irogers@google.com&gt;Cc: Jeremie Galarneau &lt;jgalar@efficios.com&gt;Cc: Michael Petlan &lt;mpetlan@redhat.com&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Wang Nan &lt;wangnan0@huawei.com&gt;Link: http://lore.kernel.org/lkml/20200805093444.314999-4-jolsa@kernel.orgSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/header.h</description>
        <pubDate>Wed, 05 Aug 2020 09:34:40 +0000</pubDate>
        <dc:creator>Jiri Olsa &lt;jolsa@kernel.org&gt;</dc:creator>
    </item>
</channel>
</rss>
