Re: [PATCH -perfbook 2/4] memorder: Add index markers for 'address/control/data dependency', take 2
Akira Yokosawa <[email protected]>
| Newsgroups | org.kernel.vger.perfbook |
|---|---|
| Message-ID | <[email protected]> |
Hi,
On 2023/09/23 17:23, Paul E. McKenney wrote:
> On Fri, Sep 22, 2023 at 10:55:44PM +0900, Akira Yokosawa wrote:
[...]
>>
>> -The low overheads of the address and data dependencies discussed in
>> +The low overheads of the \IXalth{address}{address}{dependency}
>
> This looks strange given the different parameters to the \IXalth above
> and the \IXalth below, but it gets the right thing to the right place
> in the index, so I queued and pushed all four.
>
[...]
>> +and \IXalth{data dependencies}{data}{dependency} discussed in
Let me explain what's happening here.
Original sentence looked like this:
The low overheads of the address and data dependencies discussed in
Here, if "address dependencies" were there, I could have said:
\IXalth{address dependencies}{address}{dependency}
Instead, I put an index marker of "Dependency, address" on the lonely
"address", therefore it became:
\IXalth{address}{address}{dependency}
\IXalth{}{}{} prints any string in #1 with an index marker of
"#3, #2" put on it.
Macros of \IX*alt* are powerful and can do whatever you'd like.
> Thank you!!! And yes, I am now generating a set of glossary entries. ;-)
Thank you. I like those cautionary remarks.
Thanks, Akira
>
> Thanx, Paul