<?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 session.h</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>7ae1972e - perf report: Add parallelism sort key</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/session.h#7ae1972e</link>
        <description>perf report: Add parallelism sort keyShow parallelism level in profiles if requested by user.Signed-off-by: Dmitry Vyukov &lt;dvyukov@google.com&gt;Reviewed-by: Andi Kleen &lt;ak@linux.intel.com&gt;Link: https://lore.kernel.org/r/7f7bb87cbaa51bf1fb008a0d68b687423ce4bad4.1739437531.git.dvyukov@google.comSigned-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;

            List of files:
            /linux-6.15/tools/perf/util/session.h</description>
        <pubDate>Thu, 13 Feb 2025 09:08:15 +0000</pubDate>
        <dc:creator>Dmitry Vyukov &lt;dvyukov@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/session.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/session.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>d9c99310 - perf session: Document &apos;struct perf_session&apos; and constify its &apos;auxtrace&apos; member</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/session.h#d9c99310</link>
        <description>perf session: Document &apos;struct perf_session&apos; and constify its &apos;auxtrace&apos; memberperf_session is a central data structure to the tool so let&apos;s commentit. The auxtrace callbacks are never modified in session so constify.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-3-irogers@google.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/session.h</description>
        <pubDate>Thu, 29 Aug 2024 15:01:48 +0000</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>8f29be32 - perf session: Constify tool</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/session.h#8f29be32</link>
        <description>perf session: Constify toolMake tool const now that all uses are const andperf_tool__fill_defaults() won&apos;t be used. The aim is to better capturethat sessions don&apos;t mutate tools.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: 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-28-irogers@google.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/session.h</description>
        <pubDate>Mon, 12 Aug 2024 20:47:19 +0000</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>564e5cbc - perf tool: Move fill defaults into tool.c</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/session.h#564e5cbc</link>
        <description>perf tool: Move fill defaults into tool.cThe aim here is to eventually make perf_tool__fill_defaults() an initfunction so that the tools struct is more const.Create a tool.c to go along with tool.h. Move perf_tool__fill_defaults()out of session.c into tool.c along with the default stub values. Addperf_tool__compressed_is_stub() for a test inperf_session__process_user_event().perf_session__process_compressed_event() is only used from being defaultinitialized so migrate into tool.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: 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-5-irogers@google.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/session.h</description>
        <pubDate>Mon, 12 Aug 2024 20:46:56 +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/session.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/session.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>4e322c78 - perf auxtrace: Remove dummy tools</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/session.h#4e322c78</link>
        <description>perf auxtrace: Remove dummy toolsAdd perf_session__deliver_synth_attr_event that synthesizes aperf_record_header_attr event with one id. Remove use ofperf_event__synthesize_attr that necessitates the use of the dummytool in order to pass the session.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-2-irogers@google.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/session.h</description>
        <pubDate>Mon, 12 Aug 2024 20:46:53 +0000</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>411ee135 - perf hist: Add symbol_conf.skip_empty</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/session.h#411ee135</link>
        <description>perf hist: Add symbol_conf.skip_emptyAdd the skip_empty flag to symbol_conf and set the value from the reportcommand to preserve the existing behavior.  This makes the code simplerand will be needed other code which is hard to add a new argument.Tested-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;Signed-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;Link: https://lore.kernel.org/r/20240607202918.2357459-4-namhyung@kernel.org

            List of files:
            /linux-6.15/tools/perf/util/session.h</description>
        <pubDate>Fri, 07 Jun 2024 20:29:17 +0000</pubDate>
        <dc:creator>Namhyung Kim &lt;namhyung@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>83acca9f - perf dsos: Attempt to better abstract DSOs internals</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/session.h#83acca9f</link>
        <description>perf dsos: Attempt to better abstract DSOs internalsMove functions from machine and build-id to dsos. Pass &apos;struct dsos&apos;rather than internal state.Rename some functions to better represent which data structure theyoperate on.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: Andi Kleen &lt;ak@linux.intel.com&gt;Cc: Anne Macedo &lt;retpolanne@posteo.net&gt;Cc: Athira Rajeev &lt;atrajeev@linux.vnet.ibm.com&gt;Cc: Ben Gainey &lt;ben.gainey@arm.com&gt;Cc: Changbin Du &lt;changbin.du@huawei.com&gt;Cc: Chengen Du &lt;chengen.du@canonical.com&gt;Cc: Colin Ian King &lt;colin.i.king@gmail.com&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: K Prateek Nayak &lt;kprateek.nayak@amd.com&gt;Cc: Kan Liang &lt;kan.liang@linux.intel.com&gt;Cc: Leo Yan &lt;leo.yan@linux.dev&gt;Cc: Li Dong &lt;lidong@vivo.com&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Markus Elfring &lt;Markus.Elfring@web.de&gt;Cc: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Paran Lee &lt;p4ranlee@gmail.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Ravi Bangoria &lt;ravi.bangoria@amd.com&gt;Cc: Song Liu &lt;song@kernel.org&gt;Cc: Sun Haiyong &lt;sunhaiyong@loongson.cn&gt;Cc: Thomas Richter &lt;tmricht@linux.ibm.com&gt;Cc: Yang Jihong &lt;yangjihong1@huawei.com&gt;Cc: Yanteng Si &lt;siyanteng@loongson.cn&gt;Cc: Yicong Yang &lt;yangyicong@hisilicon.com&gt;Cc: zhaimingbing &lt;zhaimingbing@cmss.chinamobile.com&gt;Link: https://lore.kernel.org/r/20240410064214.2755936-2-irogers@google.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/session.h</description>
        <pubDate>Wed, 10 Apr 2024 06:42:03 +0000</pubDate>
        <dc:creator>Ian Rogers &lt;irogers@google.com&gt;</dc:creator>
    </item>
<item>
        <title>0bdfbd04 - perf tools: Make it possible to see perf&apos;s kernel and module memory mappings</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/session.h#0bdfbd04</link>
        <description>perf tools: Make it possible to see perf&apos;s kernel and module memory mappingsDump kmaps if using &apos;perf --debug kmaps&apos; or verbose &gt; 2 (e.g. -vvv) fortools &apos;perf script&apos; and &apos;perf report&apos; if there is no browser.Example:  $ perf --debug kmaps script 2&gt;&amp;1 &gt;/dev/null | grep kvm.intel  build id event received for /lib/modules/6.7.2-local/kernel/arch/x86/kvm/kvm-intel.ko: 0691d75e10e72ebbbd45a44c59f6d00a5604badf [20]  Map: 0-3a3 4f5d8 [kvm_intel].modinfo  Map: 0-5240 5f280 [kvm_intel]__versions  Map: 0-30 64 [kvm_intel].note.Linux  Map: 0-14 644c0 [kvm_intel].orc_header  Map: 0-5297 43680 [kvm_intel].rodata  Map: 0-5bee 3b837 [kvm_intel].text.unlikely  Map: 0-7e0 41430 [kvm_intel].noinstr.text  Map: 0-2080 713c0 [kvm_intel].bss  Map: 0-26 705c8 [kvm_intel].data..read_mostly  Map: 0-5888 6a4c0 [kvm_intel].data  Map: 0-22 70220 [kvm_intel].data.once  Map: 0-40 705f0 [kvm_intel].data..percpu  Map: 0-1685 41d20 [kvm_intel].init.text  Map: 0-4b8 6fd60 [kvm_intel].init.data  Map: 0-380 70248 [kvm_intel]__dyndbg  Map: 0-8 70218 [kvm_intel].exit.data  Map: 0-438 4f980 [kvm_intel]__param  Map: 0-5f5 4ca0f [kvm_intel].rodata.str1.1  Map: 0-3657 493b8 [kvm_intel].rodata.str1.8  Map: 0-e0 70640 [kvm_intel].data..ro_after_init  Map: 0-500 70ec0 [kvm_intel].gnu.linkonce.this_module  Map: ffffffffc13a7000-ffffffffc1421000 a0 /lib/modules/6.7.2-local/kernel/arch/x86/kvm/kvm-intel.koThe example above shows how the module section mappings are all wrongexcept for the main .text mapping at 0xffffffffc13a7000.Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Acked-by: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Like Xu &lt;like.xu.linux@gmail.com&gt;Signed-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;Link: https://lore.kernel.org/r/20240208085326.13432-2-adrian.hunter@intel.com

            List of files:
            /linux-6.15/tools/perf/util/session.h</description>
        <pubDate>Thu, 08 Feb 2024 08:53:25 +0000</pubDate>
        <dc:creator>Adrian Hunter &lt;adrian.hunter@intel.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/session.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/session.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>eddc6e3f - perf tools: Export perf_event__process_finished_round()</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/session.h#eddc6e3f</link>
        <description>perf tools: Export perf_event__process_finished_round()Export perf_event__process_finished_round() so it can be used elsewhere.This is needed in perf inject to obey finished-round ordering.Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Acked-by: Ian Rogers &lt;irogers@google.com&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: kvm@vger.kernel.orgLink: https://lore.kernel.org/r/20220711093218.10967-5-adrian.hunter@intel.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/session.h</description>
        <pubDate>Mon, 11 Jul 2022 09:31:47 +0000</pubDate>
        <dc:creator>Adrian Hunter &lt;adrian.hunter@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>2292083f - perf report: Output data file name in raw trace dump</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/session.h#2292083f</link>
        <description>perf report: Output data file name in raw trace dumpPrint path and name of a data file into raw dump (-D)&lt;file_offset&gt;@&lt;path/file&gt;:  0x2226a@perf.data [0x30]: event: 9or  0x15cc36@perf.data/data.7 [0x30]: event: 9Reviewed-by: Riccardo Mancini &lt;rickyman7@gmail.com&gt;Signed-off-by: Alexey Bayduraev &lt;alexey.v.bayduraev@linux.intel.com&gt;Tested-by: Jiri Olsa &lt;jolsa@kernel.org&gt;Tested-by: Riccardo Mancini &lt;rickyman7@gmail.com&gt;Acked-by: Andi Kleen &lt;ak@linux.intel.com&gt;Acked-by: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Cc: Alexander Antonov &lt;alexander.antonov@linux.intel.com&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Alexei Budankov &lt;abudankov@huawei.com&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Link: https://lore.kernel.org/r/e8378fd4910c10751b001be880705653989283c2.1642440724.git.alexey.v.bayduraev@linux.intel.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/session.h</description>
        <pubDate>Mon, 17 Jan 2022 18:34:36 +0000</pubDate>
        <dc:creator>Alexey Bayduraev &lt;alexey.v.bayduraev@linux.intel.com&gt;</dc:creator>
    </item>
<item>
        <title>3a3535e6 - perf session: Introduce decompressor in reader object</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/session.h#3a3535e6</link>
        <description>perf session: Introduce decompressor in reader objectIntroduce a decompressor data structure with pointers to decompobjects and to zstd object.We cannot just move session-&gt;zstd_data to decomp_data assession-&gt;zstd_data is not only used for decompression.Adding decompressor data object to reader object and introducingactive_decomp into perf_session object to select current decompressor.Thus decompression could be executed separately for each data file.Reviewed-by: Jiri Olsa &lt;jolsa@redhat.com&gt;Reviewed-by: Riccardo Mancini &lt;rickyman7@gmail.com&gt;Signed-off-by: Alexey Bayduraev &lt;alexey.v.bayduraev@linux.intel.com&gt;Tested-by: Riccardo Mancini &lt;rickyman7@gmail.com&gt;Acked-by: Namhyung Kim &lt;namhyung@gmail.com&gt;Cc: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Cc: Alexander Antonov &lt;alexander.antonov@linux.intel.com&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Alexei Budankov &lt;abudankov@huawei.com&gt;Cc: Andi Kleen &lt;ak@linux.intel.com&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Link: https://lore.kernel.org/r/0eee270cb52aebcbd029c8445d9009fd17709d53.1634113027.git.alexey.v.bayduraev@linux.intel.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/session.h</description>
        <pubDate>Wed, 13 Oct 2021 09:06:36 +0000</pubDate>
        <dc:creator>Alexey Bayduraev &lt;alexey.v.bayduraev@linux.intel.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/session.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/session.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>2681bd85 - perf tools: Remove repipe argument from perf_session__new()</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/session.h#2681bd85</link>
        <description>perf tools: Remove repipe argument from perf_session__new()The repipe argument is only used by perf inject and the all otherspasses &apos;false&apos;.  Let&apos;s remove it from the function signature and add__perf_session__new() to be called from perf inject directly.This is a preparation of the change the pipe input/output.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-2-namhyung@kernel.org[ Fixed up some trivial conflicts as this patchset fell thru the cracks ;-( ]Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/session.h</description>
        <pubDate>Mon, 19 Jul 2021 22:31:49 +0000</pubDate>
        <dc:creator>Namhyung Kim &lt;namhyung@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>2775de0b - perf report: Add --skip-empty option to suppress 0 event stat</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/session.h#2775de0b</link>
        <description>perf report: Add --skip-empty option to suppress 0 event statTo make the output more readable, I think it&apos;s better to remove 0&apos;s inthe output.  Also the dummy event has no event stats so it just waststhe space.  Let&apos;s use the --skip-empty option to suppress it.  $ perf report --stat --skip-empty  Aggregated stats:             TOTAL events:      16530              MMAP events:        226              COMM events:       1596              EXIT events:          2          THROTTLE events:        121        UNTHROTTLE events:        117              FORK events:       1595            SAMPLE events:        719             MMAP2 events:      12147            CGROUP events:          2    FINISHED_ROUND events:          2        THREAD_MAP events:          1           CPU_MAP events:          1         TIME_CONV events:          1  cycles stats:            SAMPLE events:        719Reviewed-by: Andi Kleen &lt;ak@linux.intel.com&gt;Signed-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;Tested-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;Acked-by: Jiri Olsa &lt;jolsa@redhat.com&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Ian Rogers &lt;irogers@google.com&gt;Cc: Ingo Molnar &lt;mingo@kernel.org&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Link: https://lore.kernel.org/r/20210427013717.1651674-5-namhyung@kernel.orgSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/session.h</description>
        <pubDate>Tue, 27 Apr 2021 01:37:15 +0000</pubDate>
        <dc:creator>Namhyung Kim &lt;namhyung@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>103ed40e - perf session: Add facility to peek at all events</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/session.h#103ed40e</link>
        <description>perf session: Add facility to peek at all eventsAUX area samples are not limited in how far back in time the samplecould start. Consequently samples must be queued in advance to allow fortime-ordered processing. To achieve that, addperf_session__peek_events() that walks and peeks at all the events.Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Cc: Jiri Olsa &lt;jolsa@redhat.com&gt;Link: http://lore.kernel.org/lkml/20191115124225.5247-11-adrian.hunter@intel.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/session.h</description>
        <pubDate>Fri, 15 Nov 2019 12:42:20 +0000</pubDate>
        <dc:creator>Adrian Hunter &lt;adrian.hunter@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>c0e53476 - perf evlist: Adopt __set_tracepoint_handlers method from perf_session</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/session.h#c0e53476</link>
        <description>perf evlist: Adopt __set_tracepoint_handlers method from perf_sessionIt all operates on the evsels in the session&apos;s evlist, so move it to theevlist layer to make it useful to tools not using perf_session, justevlists, like &apos;perf trace&apos; in live mode.Cc: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Link: https://lkml.kernel.org/n/tip-9oc53gnfi53vg82fvolkm85g@git.kernel.orgSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/session.h</description>
        <pubDate>Tue, 01 Oct 2019 14:14:26 +0000</pubDate>
        <dc:creator>Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>ea49e01c - perf tools: Move event synthesizing routines to separate header</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/perf/util/session.h#ea49e01c</link>
        <description>perf tools: Move event synthesizing routines to separate headerThose are the only routines using the perf_event__handler_t typedef andare all related, so move to a separate header to reduce the headerdependency tree, lots of places were getting event.h and even stdio.h,limits.h indirectly, so fix those as well.Cc: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Link: https://lkml.kernel.org/n/tip-yvx9u1mf7baq6cu1abfhbqgs@git.kernel.orgSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/perf/util/session.h</description>
        <pubDate>Wed, 18 Sep 2019 14:36:13 +0000</pubDate>
        <dc:creator>Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;</dc:creator>
    </item>
</channel>
</rss>
