Re: [PATCH] Identify LWLocks in tracepoints
Dmitry Dolgov <9erthalion6@gmail.com>
From: Dmitry Dolgov <9erthalion6@gmail.com>
To: Craig Ringer <craig.ringer@enterprisedb.com>
Cc: Robert Haas <robertmhaas@gmail.com>, Andres Freund <andres@anarazel.de>, Peter Eisentraut <peter.eisentraut@enterprisedb.com>, David Steele <david@pgmasters.net>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2021-05-01T16:58:41Z
Lists: pgsql-hackers
> On Fri, Apr 30, 2021 at 11:23:56AM +0800, Craig Ringer wrote: > On Wed, 14 Apr 2021, 22:29 Robert Haas, <robertmhaas@gmail.com> wrote: > > > > I'm actually inclined to revise the patch I sent in order to *remove* > > > the LWLock name from the tracepoint argument. > > > Reducing the overheads is good, but I have no opinion on what's > > important for people doing tracing, because I am not one of those > > people. > > > > Truthfully I'm not convinced anyone is "those people" right now. I don't > think anyone is likely to be making serious use of them due to their > limitations. I would like to mention that tracepoints could be useful not only directly, they also: * deliver an information about what is important enough to trace from the developers, who wrote the code, point of view. * declare more stable tracing points within the code, which are somewhat more reliable between the versions. E.g. writing bcc scripts one is also sort of limited in use of those tracepoints because of requirement to provide a specific pid, but still can get better understanding what to look at (maybe using other methods).
Commits
-
Emit dummy statements for probes.d probes when disabled
- 0d204a4b09f7 13.3 landed
- fa8fbadb934b 14.0 landed
-
Prevent lwlock dtrace probes from unnecessary work
- e48ce7ef0ef8 13.3 landed
- b94409a02f61 14.0 landed
-
doc: Fix typo in logicaldecoding.sgml.
- 5fe83adad9ef 14.0 cited
-
Move lwlock-release probe back where it belongs
- 96ae658e6238 14.0 landed
-
Remove bogus tracepoint
- 09418bed67a7 14.0 landed
-
Simplify LWLock tranche machinery by removing array_base/array_stride.
- 3761fe3c20bb 10.0 cited
-
Improve LWLock scalability.
- ab5194e6f617 9.5.0 cited