RE: [PATCH v2] perf synthetic-events: save 4kb from 2 stack frames

From: David Laight
Date: Sat Mar 28 2020 - 07:35:28 EST


From: Ian Rogers
> Sent: 27 March 2020 17:29
>
> Reuse an existing char buffer to avoid two PATH_MAX sized char buffers.
> Reduces stack frame sizes by 4kb.

It's userspace, it really doesn't matter.

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)