[PATCH] drm: Funnel drm logs to tracepoints
Daniel Vetter
daniel.vetter at ffwll.ch
Tue Dec 3 21:20:14 UTC 2019
On Tue, Dec 3, 2019 at 8:10 PM Sean Paul <sean at poorly.run> wrote:
>
> On Thu, Oct 17, 2019 at 10:22:16AM +0300, Pekka Paalanen wrote:
> > On Wed, 16 Oct 2019 15:23:45 +0200
> > Thomas Zimmermann <tzimmermann at suse.de> wrote:
> >
> > > Hi
> > >
> > > Am 16.10.19 um 15:05 schrieb Pekka Paalanen:
> >
> > > > specifically be available in production. So a new file in some fs
> > > > somewhere it should be, and userspace in production can read it at will
> > > > to attach to a bug report.
> > > >
> > > > Those semantics, "only use this content for attaching into a bug
> > > > report" should be made very clear in the UAPI.
> > >
> > > Has this ever worked? As soon as a userspace program starts depending on
> > > the content of this file, it becomes kabi. From the incidents I know,
> > > Linus has always been quite strict about this. Even for broken interfaces.
> >
> > The kernel log content is not kabi, is it? I've seen it change plenty
> > during the years. This would be just another similar log with free-form
> > text.
> >
>
> Ok, so given the more structured version of this set [1] was not well received,
> are we all comfortable going with the freeform approach in this version?
Imo yes. It's still uabi, so someone will have regrets about it. But
given that dmesg has been around forever, and causes rather little
breakage, I think we should be fairly ok.
I still think that figuring out the drm_dev logging bikeshed might be
good, while we noodle around in here.
-Daniel
>
> Sean
>
> [1]- https://lists.freedesktop.org/archives/dri-devel/2019-November/243230.html
>
> >
> > Thanks,
> > pq
>
>
>
> --
> Sean Paul, Software Engineer, Google / Chromium OS
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
More information about the dri-devel
mailing list