[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] [NFC] Mark locally used symbols as static.
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH] [NFC] Mark locally used symbols as static. |
Date: |
Tue, 23 Mar 2021 13:36:04 +0000 |
On Mon, Mar 22, 2021 at 10:55:42PM +0300, Yuri Gribov wrote:
> diff --git a/scripts/tracetool/format/c.py b/scripts/tracetool/format/c.py
> index c390c18..7e89ba3 100644
> --- a/scripts/tracetool/format/c.py
> +++ b/scripts/tracetool/format/c.py
> @@ -49,7 +49,7 @@ def generate(events, backend, group):
> sstate = "TRACE_%s_ENABLED" % e.name.upper(),
> dstate = e.api(e.QEMU_DSTATE))
>
> - out('TraceEvent *%(group)s_trace_events[] = {',
> + out('static TraceEvent *%(group)s_trace_events[] = {',
> group = group.lower())
>
> for e in events:
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
signature.asc
Description: PGP signature
- [PATCH] [NFC] Mark locally used symbols as static., Yuri Gribov, 2021/03/22
- Re: [PATCH] [NFC] Mark locally used symbols as static., Max Filippov, 2021/03/22
- Re: [PATCH] [NFC] Mark locally used symbols as static., David Gibson, 2021/03/22
- Re: [PATCH] [NFC] Mark locally used symbols as static.,
Stefan Hajnoczi <=
- Re: [PATCH] [NFC] Mark locally used symbols as static., Stefan Hajnoczi, 2021/03/23
- RE: [PATCH] [NFC] Mark locally used symbols as static., Taylor Simpson, 2021/03/23
- [PING] [PATCH] [NFC] Mark locally used symbols as static., Yuri Gribov, 2021/03/30