<?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 lhreg.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2025</copyright>
    <generator>Java</generator><item>
        <title>6147a03054b7508bfa2c7c36641bdd5b75587eab - Merge branch &apos;zach/log_roctx&apos; into &apos;main&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/handler/interface/lhreg.c#6147a03054b7508bfa2c7c36641bdd5b75587eab</link>
        <description>Merge branch &apos;zach/log_roctx&apos; into &apos;main&apos;Add `-log_roctx` to automatically instrument PETSc events for rocprofSee merge request petsc/petsc!8372

            List of files:
            /petsc/src/sys/logging/handler/interface/lhreg.c</description>
        <pubDate>Fri, 18 Jul 2025 18:36:09 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>56a72328f397842c5a32901afc99e425102b3754 - Add `-log_roctx` to automatically instrument PETSc events for rocprof</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/handler/interface/lhreg.c#56a72328f397842c5a32901afc99e425102b3754</link>
        <description>Add `-log_roctx` to automatically instrument PETSc events for rocprof

            List of files:
            /petsc/src/sys/logging/handler/interface/lhreg.c</description>
        <pubDate>Fri, 18 Jul 2025 18:36:09 +0000</pubDate>
        <dc:creator>Zach Atkins &lt;zach.atkins@colorado.edu&gt;</dc:creator>
    </item>
<item>
        <title>09b68a49ed2854d1e4985cc2aa6af33c7c4e69b3 - Merge remote-tracking branch &apos;origin/release&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/handler/interface/lhreg.c#09b68a49ed2854d1e4985cc2aa6af33c7c4e69b3</link>
        <description>Merge remote-tracking branch &apos;origin/release&apos;

            List of files:
            /petsc/src/sys/logging/handler/interface/lhreg.c</description>
        <pubDate>Fri, 04 Apr 2025 16:52:00 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>e80aff1c6c3c5b0d2b2c91d72667105d74682974 - Merge branch &apos;jolivet/fix-petsc-case&apos; into &apos;release&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/handler/interface/lhreg.c#e80aff1c6c3c5b0d2b2c91d72667105d74682974</link>
        <description>Merge branch &apos;jolivet/fix-petsc-case&apos; into &apos;release&apos;Fix wrong case for PETScSee merge request petsc/petsc!8266

            List of files:
            /petsc/src/sys/logging/handler/interface/lhreg.c</description>
        <pubDate>Thu, 03 Apr 2025 20:58:34 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>f0b74427b291237450348b8514d67555ad08bce6 - Fix wrong case for PETSc</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/handler/interface/lhreg.c#f0b74427b291237450348b8514d67555ad08bce6</link>
        <description>Fix wrong case for PETSc

            List of files:
            /petsc/src/sys/logging/handler/interface/lhreg.c</description>
        <pubDate>Tue, 01 Apr 2025 19:15:23 +0000</pubDate>
        <dc:creator>Pierre Jolivet &lt;pierre@joliv.et&gt;</dc:creator>
    </item>
<item>
        <title>1ed6e3ff8437baa411029a28c2b08f047df9ad9a - Merge branch &apos;barry/2024-04-13/fix-sowing-strings&apos; into &apos;main&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/handler/interface/lhreg.c#1ed6e3ff8437baa411029a28c2b08f047df9ad9a</link>
        <description>Merge branch &apos;barry/2024-04-13/fix-sowing-strings&apos; into &apos;main&apos;Update PETSc to use sowing bfort that handles string arguments and PETSC_NULL_INTSee merge request petsc/petsc!7480

            List of files:
            /petsc/src/sys/logging/handler/interface/lhreg.c</description>
        <pubDate>Thu, 25 Apr 2024 22:16:01 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>cc4c1da905d89950b196b027190941013bd3e15a - Update source code removing all unneeded /*@C and associated manual stubs and interfaces</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/handler/interface/lhreg.c#cc4c1da905d89950b196b027190941013bd3e15a</link>
        <description>Update source code removing all unneeded /*@C and associated manual stubs and interfaces

            List of files:
            /petsc/src/sys/logging/handler/interface/lhreg.c</description>
        <pubDate>Sun, 14 Apr 2024 02:07:12 +0000</pubDate>
        <dc:creator>Barry Smith &lt;bsmith@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>e8e8640d1cb9a3a2f50c0c0d7b26e5c4d521e2e4 - Merge branch &apos;jolivet/rm-first-empty-line&apos; into &apos;main&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/handler/interface/lhreg.c#e8e8640d1cb9a3a2f50c0c0d7b26e5c4d521e2e4</link>
        <description>Merge branch &apos;jolivet/rm-first-empty-line&apos; into &apos;main&apos;Remove first and last empty linesSee merge request petsc/petsc!6892

            List of files:
            /petsc/src/sys/logging/handler/interface/lhreg.c</description>
        <pubDate>Tue, 26 Sep 2023 16:50:23 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>92bec4eefde5b79327e7cea3b0266e7580ec8183 - Remove first and last empty lines</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/handler/interface/lhreg.c#92bec4eefde5b79327e7cea3b0266e7580ec8183</link>
        <description>Remove first and last empty lines

            List of files:
            /petsc/src/sys/logging/handler/interface/lhreg.c</description>
        <pubDate>Tue, 26 Sep 2023 16:50:22 +0000</pubDate>
        <dc:creator>Pierre Jolivet &lt;pierre@joliv.et&gt;</dc:creator>
    </item>
<item>
        <title>33fbd3852632b176876ffe3ee64d3ccc24a8a42b - Merge branch &apos;tisaac/feature-log-nvtx&apos; into &apos;main&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/handler/interface/lhreg.c#33fbd3852632b176876ffe3ee64d3ccc24a8a42b</link>
        <description>Merge branch &apos;tisaac/feature-log-nvtx&apos; into &apos;main&apos;Profiling: Create PETSCLOGHANDLERNVTX (`-log_view` no longer required for Nsight ranges)See merge request petsc/petsc!6884

            List of files:
            /petsc/src/sys/logging/handler/interface/lhreg.c</description>
        <pubDate>Fri, 22 Sep 2023 15:33:33 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>61cc744836451fb4d1d6f02ab6992be430960ed1 - Profiling: Create PETSCLOGHANDLERNVTX</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/handler/interface/lhreg.c#61cc744836451fb4d1d6f02ab6992be430960ed1</link>
        <description>Profiling: Create PETSCLOGHANDLERNVTX

            List of files:
            /petsc/src/sys/logging/handler/interface/lhreg.c</description>
        <pubDate>Thu, 21 Sep 2023 18:47:51 +0000</pubDate>
        <dc:creator>Toby Isaac &lt;toby.isaac@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>6c37f76f2ace6b1ab1a4a8f1d7a04dee3e7f2aa9 - Merge branch &apos;tisaac/feature-log-handler&apos; into &apos;main&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/handler/interface/lhreg.c#6c37f76f2ace6b1ab1a4a8f1d7a04dee3e7f2aa9</link>
        <description>Merge branch &apos;tisaac/feature-log-handler&apos; into &apos;main&apos;Deglobalize logging into PetscLogHandler and PetscLogStateSee merge request petsc/petsc!6709

            List of files:
            /petsc/src/sys/logging/handler/interface/lhreg.c</description>
        <pubDate>Thu, 27 Jul 2023 15:06:19 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>294de794fe123e610254afa1d3b5e86df4c0be38 - Profiling: Rename PETSC_LOG_HANDLER_XXX -&gt; PETSCLOGHANDLERXXX</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/handler/interface/lhreg.c#294de794fe123e610254afa1d3b5e86df4c0be38</link>
        <description>Profiling: Rename PETSC_LOG_HANDLER_XXX -&gt; PETSCLOGHANDLERXXX

            List of files:
            /petsc/src/sys/logging/handler/interface/lhreg.c</description>
        <pubDate>Thu, 20 Jul 2023 05:12:35 +0000</pubDate>
        <dc:creator>Toby Isaac &lt;toby.isaac@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>0970d93f389b89d61186faed376e9cc5531f567f - Profiling: Add legacy callbacks implementation of PetscLogHandler</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/handler/interface/lhreg.c#0970d93f389b89d61186faed376e9cc5531f567f</link>
        <description>Profiling: Add legacy callbacks implementation of PetscLogHandlerThe existing logging infrastructures has four exposed callback pointers:- PetscLogPLB / PetscLogPLE for PetscLogEventBegin() / PetscLogEventEnd()  These can also be set with PetscLogSet- PetscLogPHC / PetscLogPHD for PetscLogObjectCreate() /  PetscLogObjectDestroy()This log handler implementation provides a path for users who have beensetting their own callbacks with these functions to upgrade to the newPetscLogHandler interface.

            List of files:
            /petsc/src/sys/logging/handler/interface/lhreg.c</description>
        <pubDate>Thu, 13 Jul 2023 18:47:17 +0000</pubDate>
        <dc:creator>Toby Isaac &lt;toby.isaac@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>ccf0b5c1967b48da6c1c972ce7215de9b66fafa5 - Profiling: Add tau perfstubs implementation of PetscLogHandler</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/handler/interface/lhreg.c#ccf0b5c1967b48da6c1c972ce7215de9b66fafa5</link>
        <description>Profiling: Add tau perfstubs implementation of PetscLogHandlerIn the existing logging, perfstubs runs automatically with -log_viewif PETSc is configured --with-tau-perfstubs.  This new PetscLogHandlerimplementation will be used with a new -log_perfstubs command lineoption that will only run this handler and not the default handler.

            List of files:
            /petsc/src/sys/logging/handler/interface/lhreg.c</description>
        <pubDate>Thu, 13 Jul 2023 18:43:14 +0000</pubDate>
        <dc:creator>Toby Isaac &lt;toby.isaac@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>856bee69f0e0908e75ff837867b1777dfb1ced96 - Profiling: add MPE implementation of PetscLogHandler</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/handler/interface/lhreg.c#856bee69f0e0908e75ff837867b1777dfb1ced96</link>
        <description>Profiling: add MPE implementation of PetscLogHandlerThis is meant to handle -log_mpe.

            List of files:
            /petsc/src/sys/logging/handler/interface/lhreg.c</description>
        <pubDate>Thu, 13 Jul 2023 18:39:41 +0000</pubDate>
        <dc:creator>Toby Isaac &lt;toby.isaac@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>6467efc9ef4d99487050cf3d5fe3db991cbd2979 - Profiling: Add trace implementation of PetscLogHandler</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/handler/interface/lhreg.c#6467efc9ef4d99487050cf3d5fe3db991cbd2979</link>
        <description>Profiling: Add trace implementation of PetscLogHandlerThis is a minimal PetscLogHandler implementation for -log_trace.

            List of files:
            /petsc/src/sys/logging/handler/interface/lhreg.c</description>
        <pubDate>Thu, 13 Jul 2023 18:36:27 +0000</pubDate>
        <dc:creator>Toby Isaac &lt;toby.isaac@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>b93211885051a68d5a4e2963b141f71fa7a24c4c - Profiling: Add nested PetscLogHandler implementation</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/handler/interface/lhreg.c#b93211885051a68d5a4e2963b141f71fa7a24c4c</link>
        <description>Profiling: Add nested PetscLogHandler implementationThis log handler has behavior like the behavior ofPetscLogNestedBegin().Unlike the implementation of PetscLogHandler_Default, I did not try todo a faithful translation of the existing nested logging behavior, fortwo reasons.- The existing implementation keeps sorted lists of nested paths (&quot;Event  A;Event B;&quot;), and for each of those paths keeps a sorted list of the  top-level events (&quot;Event C&quot;, &quot;Event D&quot;) that map that path to other  paths (path + event =&gt; other path).  It&apos;s a complicated data structure,  and the benefit of the sorting (O(log n) lookup) is probably not worth  the more expensive insertion cost each time a new path + event combo  appears.  Instead I implemented the path + event =&gt; other path  lookup as a hash map, which simplified the implementation  significantly.- The existing implementation assigns an event to each path, modifying  the event registry in place.  This messes things up if you want  to both -log_view and -log_view ::ascii_flamegraph output, the  original motivation for refactoring the profiling infrastructure.  In the new implementation, the nested handler has its own  PetscLogState that it modifies, and an inner copy of  PetscLogHandler_Default the acts on that nested state.- The PetscLogGlobalNames data structure also simplifies the  construction of a linearized tree of events in the final  viewing stage, although the low-level xml construction  routines are copied almost verbatim from the previous  implementation.

            List of files:
            /petsc/src/sys/logging/handler/interface/lhreg.c</description>
        <pubDate>Thu, 13 Jul 2023 18:17:03 +0000</pubDate>
        <dc:creator>Toby Isaac &lt;toby.isaac@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>78f1b9b472cf46554c52f6298e1071a647f75846 - Profiling: Implement the default PetscLogHandler</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/handler/interface/lhreg.c#78f1b9b472cf46554c52f6298e1071a647f75846</link>
        <description>Profiling: Implement the default PetscLogHandlerThe existing default log handling that uses the PetscStageLogis translated in the PetscLogHandler_Default implementationof PetscLogHandler.- Most data that is global in the existing log handling  is moved into the struct, with the exception of the  raw counters.- The registry data structures of PetscStageLog (eventLog,  classLog) are not reproduced because they are now in  the PetscLogState interface.- PETSC_LOG_RESIZABLE_ARRAY is used to implement  resizable arrays instead of PetscStageInfo,  PetscEventPerfLog, and PetscClassPerfLog- The tau perfstubs and MPE functionality is not  reproduced because they will become new  handlers on their own.- The PetscLogGlobalNames provided by the  PetscLogRegistry interface make the logging  robust to differences in which events / stages are  registered on which process and in which order.Otherwise the functions are relatively faithful translationsof the existing PetscStageLog functions into the new interface.When reviewing this commit it might help to have a diffbetween the PetscStageLog and PetscLogHandler_Default functionsto see what changes between them.  I am working on a way to attachthat to the MR associated with this change.

            List of files:
            /petsc/src/sys/logging/handler/interface/lhreg.c</description>
        <pubDate>Thu, 13 Jul 2023 16:00:04 +0000</pubDate>
        <dc:creator>Toby Isaac &lt;toby.isaac@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>19ef957c25d34342168108744150c0ef6ced0e91 - Profiling: Add PetscLogHandler interface</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/handler/interface/lhreg.c#19ef957c25d34342168108744150c0ef6ced0e91</link>
        <description>Profiling: Add PetscLogHandler interfacePetscStageLog tries to handle multiple ways of interpreting profilingdata:* -log_view (default),* -log_view ::ascii_xml and -log_view ::ascii_flamegraph (nested),* -log_trace,* -log_mpe,* tau perfstubs (implicitly),* nvidiaThey can interact with petsc_logState in incompatible ways.PetscLogHandler gives each handler its own interface so thatit can have its own data structures.  They key operationsthat a log handler can implement are:- PetscLogHandlerEventBegin() / PetscLogHandlerEventEnd()- PetscLogHandlerEventSync()- PetscLogHandlerStagePush() / PetscLogHandlerStagePop()- PetscLogHandlerObjectCreate() / PetscLogHandlerObjectDestroy()The remaining operations are PetscObject standard functions,with the except of `PetscLogHandlerSetState()` / `PetscLogHandlerGetState()`,which control the `PetscLogState` that the handler can use toget information about registered things and about the stage stack.This change only introduces the type, it does not deploy itto replace anything in the current profiling interface.When it does, the user-defined log handling that was implementedby setting callbacks in in PetscLogSet() will be replaced withuser-defined PetscLogHandler instances.

            List of files:
            /petsc/src/sys/logging/handler/interface/lhreg.c</description>
        <pubDate>Thu, 13 Jul 2023 12:41:18 +0000</pubDate>
        <dc:creator>Toby Isaac &lt;toby.isaac@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
