Re: Format inline code

Alejandro Colomar
2020-11-12T21:20:23Z

> [[
> .IP * 2
> If
> .B PERF_FORMAT_GROUP
> was specified to allow reading all events in a group at once:
> .IP
> .in +4n
> .EX
> struct read_format {
> u64 nr; /* The number of events */
> u64 time_enabled; /* if PERF_FORMAT_TOTAL_TIME_ENABLED */
> u64 time_running; /* if PERF_FORMAT_TOTAL_TIME_RUNNING */
> struct {
> u64 value; /* The value of the event */
> u64 id; /* if PERF_FORMAT_ID */
> } values[nr];
> };
> .EE
> .in
> .IP *
> If
> .B PERF_FORMAT_GROUP
> was
> .I not
> specified:
> .IP
> .in +4n
> .EX
> struct read_format {
> u64 value; /* The value of the event */
> u64 time_enabled; /* if PERF_FORMAT_TOTAL_TIME_ENABLED */
> u64 time_running; /* if PERF_FORMAT_TOTAL_TIME_RUNNING */
> u64 id; /* if PERF_FORMAT_ID */
> };
> .EE
> .in
> ]]

Unless there's some simple fix for this using [.RS/.RE]
that I didn't come up with...