<?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 logstate.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2025</copyright>
    <generator>Java</generator><item>
        <title>7f031e8bf1f008cdd443cdad0cd45837cb20997c - Merge branch &apos;jolivet/pacify-gcc&apos; into &apos;main&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/state/logstate.c#7f031e8bf1f008cdd443cdad0cd45837cb20997c</link>
        <description>Merge branch &apos;jolivet/pacify-gcc&apos; into &apos;main&apos;Fix (erroneous) -Wmaybe-uninitialized (#1847)See merge request petsc/petsc!9036

            List of files:
            /petsc/src/sys/logging/state/logstate.c</description>
        <pubDate>Sun, 15 Feb 2026 16:48:53 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>31a765c46fe50152a8e3e8e5db004c5ae5ccd02a - Fix style of 6497c311e7b976d467be1503c1effce92a60525c</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/state/logstate.c#31a765c46fe50152a8e3e8e5db004c5ae5ccd02a</link>
        <description>Fix style of 6497c311e7b976d467be1503c1effce92a60525c

            List of files:
            /petsc/src/sys/logging/state/logstate.c</description>
        <pubDate>Sat, 14 Feb 2026 06:46:49 +0000</pubDate>
        <dc:creator>Pierre Jolivet &lt;pierre@joliv.et&gt;</dc:creator>
    </item>
<item>
        <title>7b5fd022a6ba26727040df7457b27566b4c6742d - Merge branch &apos;jolivet/housekeeping&apos; into &apos;main&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/state/logstate.c#7b5fd022a6ba26727040df7457b27566b4c6742d</link>
        <description>Merge branch &apos;jolivet/housekeeping&apos; into &apos;main&apos;Minor housekeepingSee merge request petsc/petsc!8811

            List of files:
            /petsc/src/sys/logging/state/logstate.c</description>
        <pubDate>Tue, 28 Oct 2025 13:36:29 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>663e1fa8ddb49a7ef5b48ce657f58a022852edcd - Remove more unneeded parentheses</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/state/logstate.c#663e1fa8ddb49a7ef5b48ce657f58a022852edcd</link>
        <description>Remove more unneeded parentheses

            List of files:
            /petsc/src/sys/logging/state/logstate.c</description>
        <pubDate>Mon, 27 Oct 2025 08:57:32 +0000</pubDate>
        <dc:creator>Pierre Jolivet &lt;pierre@joliv.et&gt;</dc:creator>
    </item>
<item>
        <title>834855d6effb0d027771461c8e947ee1ce5a1e17 - Merge branch &apos;jolivet/clang-format-21&apos; into &apos;main&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/state/logstate.c#834855d6effb0d027771461c8e947ee1ce5a1e17</link>
        <description>Merge branch &apos;jolivet/clang-format-21&apos; into &apos;main&apos;clang-format-21See merge request petsc/petsc!8202

            List of files:
            /petsc/src/sys/logging/state/logstate.c</description>
        <pubDate>Wed, 27 Aug 2025 20:14:46 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>ac530a7e429a3ef5a9263376acf6071236a5db98 - Remove unnecessary braces around one-liners</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/state/logstate.c#ac530a7e429a3ef5a9263376acf6071236a5db98</link>
        <description>Remove unnecessary braces around one-linersgit grep -lE &quot;[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$&quot; -- &apos;*.c&apos; &apos;*.cxx&apos; &apos;*.cu&apos; &apos;*.h&apos; &apos;*.hpp&apos; &apos;*.cpp&apos; | xargs sed -i &apos;&apos; -E &apos;s#([ ]*)(if|for|while) \((.*)\) {([^;]*);([^;]*)}$#\1\2 \(\3\)\4;\5#&apos;

            List of files:
            /petsc/src/sys/logging/state/logstate.c</description>
        <pubDate>Tue, 03 Jun 2025 13:10:33 +0000</pubDate>
        <dc:creator>Pierre Jolivet &lt;pierre@joliv.et&gt;</dc:creator>
    </item>
<item>
        <title>3a7d0413a690b3ac55568f51e4c3dc23a888f57d - One-liners from petsc/petsc!5344 and petsc/petsc!5557</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/state/logstate.c#3a7d0413a690b3ac55568f51e4c3dc23a888f57d</link>
        <description>One-liners from petsc/petsc!5344 and petsc/petsc!5557Slightly reworked regular expressiongit ls-files -z -- &apos;*.c&apos; &apos;*.cxx&apos; &apos;*.cu&apos; &apos;*.h&apos; &apos;*.hpp&apos; &apos;*.cpp&apos; | while IFS= read -r -d &apos;&apos; file; do    cat $file | tr &apos;\n&apos; &apos;\r&apos; | sed -E &apos;s/\r([ ]*)(for|if|while|else) ([^\r]*)\{\r[ ]*Petsc([a-zA-Z]*)\(([^\r]*)\);\r[ ]*\}\r/\r\1\2 \3Petsc\4(\5);\r/g&apos; | tr &apos;\r&apos; &apos;\n&apos; &gt; ${file}.joe; mv ${file}.joe ${file}done

            List of files:
            /petsc/src/sys/logging/state/logstate.c</description>
        <pubDate>Mon, 12 May 2025 18:15:37 +0000</pubDate>
        <dc:creator>Pierre Jolivet &lt;pierre@joliv.et&gt;</dc:creator>
    </item>
<item>
        <title>be37439ebbbdb2f81c3420c175a94aa72e59929c - Merge branch &apos;stefanozampini/useless-cast&apos; into &apos;main&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/state/logstate.c#be37439ebbbdb2f81c3420c175a94aa72e59929c</link>
        <description>Merge branch &apos;stefanozampini/useless-cast&apos; into &apos;main&apos;Remove useless castSee merge request petsc/petsc!7894

            List of files:
            /petsc/src/sys/logging/state/logstate.c</description>
        <pubDate>Mon, 21 Oct 2024 21:59:33 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>835f2295474254850a9de28f274be7ce943244c7 - Brain dead fixes for useless casts</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/state/logstate.c#835f2295474254850a9de28f274be7ce943244c7</link>
        <description>Brain dead fixes for useless casts

            List of files:
            /petsc/src/sys/logging/state/logstate.c</description>
        <pubDate>Sat, 05 Oct 2024 11:54:52 +0000</pubDate>
        <dc:creator>Stefano Zampini &lt;stefano.zampini@gmail.com&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/state/logstate.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/state/logstate.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/state/logstate.c#cc4c1da905d89950b196b027190941013bd3e15a</link>
        <description>Update source code removing all unneeded /*@C and associated manual stubs and interfaces

            List of files:
            /petsc/src/sys/logging/state/logstate.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>970231d20df44f79b27787157e39d441e79f434b - Merge branch &apos;jolivet/clang-format-18&apos; into &apos;main&apos;</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/state/logstate.c#970231d20df44f79b27787157e39d441e79f434b</link>
        <description>Merge branch &apos;jolivet/clang-format-18&apos; into &apos;main&apos;clang-format version 18See merge request petsc/petsc!6902

            List of files:
            /petsc/src/sys/logging/state/logstate.c</description>
        <pubDate>Thu, 07 Mar 2024 12:36:17 +0000</pubDate>
        <dc:creator>Satish Balay &lt;balay@mcs.anl.gov&gt;</dc:creator>
    </item>
<item>
        <title>f4f49eeac7efa77fffa46b7ff95a3ed169f659ed - Remove multiple parentheses and extra semicolon</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/state/logstate.c#f4f49eeac7efa77fffa46b7ff95a3ed169f659ed</link>
        <description>Remove multiple parentheses and extra semicolongit grep -l -E &quot;\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]&quot; | xargs sed -r -i&apos;&apos; &apos;s#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g&apos;git grep -l -E &quot;Petsc(.)*\(\(\*[a-zA-Z0-9_]*\),&quot; | xargs sed -r -i&apos;&apos; &apos;s#Petsc([a-zA-Z0-9_]*)\(\(\*([a-zA-Z0-9_]*)\), #Petsc\1(*\2, #g&apos;git grep -l -E &quot;([\!\&amp;\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|-&gt;)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)&quot; | xargs sed -r -i&apos;&apos; &apos;s#([\!\&amp;\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|-&gt;)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)#\1\2#g&apos;

            List of files:
            /petsc/src/sys/logging/state/logstate.c</description>
        <pubDate>Sun, 11 Feb 2024 06:40:18 +0000</pubDate>
        <dc:creator>Pierre Jolivet &lt;pierre@joliv.et&gt;</dc:creator>
    </item>
<item>
        <title>4d86920da9ee67c835173a5dfffa1b3a52fd24ca - checkbadSource: rules for PetscFunctionBegin and derivatives</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/state/logstate.c#4d86920da9ee67c835173a5dfffa1b3a52fd24ca</link>
        <description>checkbadSource: rules for PetscFunctionBegin and derivatives

            List of files:
            /petsc/src/sys/logging/state/logstate.c</description>
        <pubDate>Sat, 10 Feb 2024 08:07:08 +0000</pubDate>
        <dc:creator>Pierre Jolivet &lt;pierre@joliv.et&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/state/logstate.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/state/logstate.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/state/logstate.c#92bec4eefde5b79327e7cea3b0266e7580ec8183</link>
        <description>Remove first and last empty lines

            List of files:
            /petsc/src/sys/logging/state/logstate.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>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/state/logstate.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/state/logstate.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>b665b14e20d08dc58a3f47e0addbfcd5129cdb60 - Profiling: Switch logging over to the new PetscLogHandler infrastructure</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/state/logstate.c#b665b14e20d08dc58a3f47e0addbfcd5129cdb60</link>
        <description>Profiling: Switch logging over to the new PetscLogHandler infrastructure- Move data structures only needed by the default logger now (Action,  Object) to logdefault.c- Create petsclogdeprecated.h and petsc/private/logimpldeprecated.h  for publicly visible symbols that are now deprecated.  Yes,  lots of symbols in petsc/private/logimpl.h were not only visible  but had docstrings.- The macros PetscLogEventBegin(), PetscLogEventEnd(),  PetscLogEventSync(), PetscLogObjectCreate(), and  PetscLogObjectDestroy() now looks through the log handlers  in PetscLogHandlers, sees if they have they appropriate  callbacks (Exposed in PetscLogHandlerHot), and calls them.  Up to 4 log handlers can run simultaneously.- All queries about the registered things now go through  petsc_log_state.- Output functions dispatch to the appropriate PetscLogHandler- There is no need for xmllogevent.c, xmlviewer.c, eventlog.c,  classlog.c, and stagelog.c anymore.  Some orphaned functions  (PetscLogSetThreshold(), PetscLogEventSetDof(),  PetscLogEventSetError(), PetscASend(), PetscARecv(), PetscAReduce())- PetscFEOpenCLLogResidual() did some intrusive things related  to the old logging infrastruture: the private header  for the default log handler is now imported into feopencl.c  so that it can do equivalent things with the new infrastructure.- PetscLogPauseCurrentEvent_Internal() is replaced with  PetscLogEventsPause()Deprecated symbols include:- All functions related to PetscStageLog and the resizable array structs  that it contained.- The legacy EventBegin()/EventEnd() callbacks.- PetscLogAllBegin(), which actually reported less information than  PetscLogDefaultBegin() because it was not kept up-to-date with  regards to GPU profiling.

            List of files:
            /petsc/src/sys/logging/state/logstate.c</description>
        <pubDate>Tue, 18 Jul 2023 14:37:05 +0000</pubDate>
        <dc:creator>Toby Isaac &lt;toby.isaac@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>6873511ff80237d5d0f941f06f20b05258b4c363 - Profiling: Add PetscLogState interface to describe events and stages</title>
        <link>http://opengrok.kc2vjw.com:8080/history/petsc/src/sys/logging/state/logstate.c#6873511ff80237d5d0f941f06f20b05258b4c363</link>
        <description>Profiling: Add PetscLogState interface to describe events and stagesThe design that is being implemented is a separation between thelogging state that is common to multiple log handlers and the loghandlers themselves.  This new interface PetscLogState willbecome the replacement for PetscStageLog, but this changeonly introduces it without deploying it.Internally, PetscLogState is:- A registry (PetscLogRegistry) of more-or-less immutable information  about stages, events, and classes that have been registered.  The  registry is not exposed, but the registry entries (PetscLogEventInfo,  PetscLogStageInfo, PetscLogClassInfo), that I feel comfortable exposing  them (pass-by-copy) through PetscLogStateXXXGetInfo() functions.- A stack of stages that have been pushed and popped- A PetscBT describing the active/inactive state of logging stages  and events.  I have kept the existing semantics of  PetscLogStateSetActive / PetscLogEventActivate /  PetscLogEventActivateClass, which is: if the stage is active  and the (event,stage) pair is active, then log handling proceeds.  This logic is encoded in PetscLogStateStageEventIsActive- For symmetry I have added PetscLogClass that matches PetscLogStage  and PetscLogEvent- The profiling interface is littered with ad hoc resizable array types  (PetscEventRegLog, PetscEventPerfLog, PetscClassPerfLog,  PetscStageLog).  The intention is for these to go away.  This commit  introduces a PetscHashMap-style macro constructor for resizable  arrays (PETSC_LOG_RESIZABLE_ARRAY).  It is only used in implementing  these arrays: they do not appear in the public interface.  Storage  could be switched to a hashmap or other backing storage at some point  in the future.

            List of files:
            /petsc/src/sys/logging/state/logstate.c</description>
        <pubDate>Thu, 13 Jul 2023 03:39:21 +0000</pubDate>
        <dc:creator>Toby Isaac &lt;toby.isaac@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
