Re: [PATCH v6 01/12] tools lib traceevent: Convert remaining %p[fF] users to %p[sS]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [PATCH v6 01/12] tools lib traceevent: Convert remaining %p[fF] users to %p[sS]
- From: Joe Perches <joe@xxxxxxxxxxx>
- Date: Tue, 10 Sep 2019 12:44:03 -0700
- Cc: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>, Petr Mladek <pmladek@xxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, rafael@xxxxxxxxxx, Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>, linux-acpi@xxxxxxxxxxxxxxx, devicetree@xxxxxxxxxxxxxxx, Rob Herring <robh@xxxxxxxxxx>, Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>, Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>, Tzvetomir Stoyanov <tstoyanov@xxxxxxxxxx>, linux-trace-devel@xxxxxxxxxxxxxxx, Jiri Olsa <jolsa@xxxxxxxxxx>, Namhyung Kim <namhyung@xxxxxxxxxx>
- In-reply-to: <20190910150303.5a0d3904@oasis.local.home>
- References: <20190910084707.18380-1-sakari.ailus@linux.intel.com> <20190910084707.18380-2-sakari.ailus@linux.intel.com> <20190910071837.2e9110f8@oasis.local.home> <61a2b2ab4693535850306f396aac2a328e1d5a21.camel@perches.com> <20190910142621.0bec208d@oasis.local.home> <c458e734f5777561138b87228384808398547762.camel@perches.com> <20190910150303.5a0d3904@oasis.local.home>
- User-agent: Evolution 3.32.1-2
On Tue, 2019-09-10 at 15:03 -0400, Steven Rostedt wrote:
> On Tue, 10 Sep 2019 11:42:06 -0700
[]
> > btw:
> >
> > Is there kernel version information available in
> > trace output files?
>
> Not really. This is just a library that parses the trace event formats,
> there's not kernel versions passed in, but we do use variations in
> formats and such to determine what is supported.
>
> > If so, it might be reasonable to change the tooling
> > there instead.
> >
>
> Actually, I think we could just look to see if "%pfw" is used and fall
> to that, otherwise consider it an older kernel and do it the original
> way.
Well, if you think that works, OK great.
But could that work?
How would an individual trace record know if
another trace record used %pfw?
Perhaps not reusing %pf, marking it reserved
for a period of years, and using another unused
prefix %p<type> like %pnfw may be simpler.
[Index of Archives]
[Linux USB Development]
[Linux USB Development]
[Linux Audio Users]
[Yosemite Hiking]
[Linux Kernel]
[Linux SCSI]