[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 1/4] scripts/tracetool: Fix dtrace generation for macOS
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v2 1/4] scripts/tracetool: Fix dtrace generation for macOS |
Date: |
Tue, 21 Jul 2020 13:33:56 +0100 |
On Fri, Jul 17, 2020 at 12:35:14PM +0300, Roman Bolshakov wrote:
> dtrace USDT is fully supported since OS X 10.6. There are a few
> peculiarities compared to other dtrace flavors.
>
> 1. It doesn't accept empty files.
> 2. It doesn't recognize bool type but accepts C99 _Bool.
> 3. It converts int8_t * in probe points to char * in
> header files and introduces [-Wpointer-sign] warning.
>
> Cc: Cameron Esfahani <dirty@apple.com>
> Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
> ---
> scripts/tracetool/format/d.py | 15 ++++++++++++++-
> 1 file changed, 14 insertions(+), 1 deletion(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
signature.asc
Description: PGP signature
Re: [PATCH v2 0/4] Add dtrace support on macOS, Stefan Hajnoczi, 2020/07/21