Re: [PATCH v2 1/4] scripts/tracetool: Fix dtrace generation for macOS

2020-07-21 Thread Stefan Hajnoczi
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 int

Re: [PATCH v2 1/4] scripts/tracetool: Fix dtrace generation for macOS

2020-07-20 Thread Philippe Mathieu-Daudé
On 7/20/20 12:50 PM, Roman Bolshakov wrote: > On Sun, Jul 19, 2020 at 03:52:08PM +0200, Philippe Mathieu-Daudé wrote: >> On 7/17/20 11:35 AM, 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

Re: [PATCH v2 1/4] scripts/tracetool: Fix dtrace generation for macOS

2020-07-20 Thread Roman Bolshakov
On Sun, Jul 19, 2020 at 03:52:08PM +0200, Philippe Mathieu-Daudé wrote: > On 7/17/20 11:35 AM, 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

Re: [PATCH v2 1/4] scripts/tracetool: Fix dtrace generation for macOS

2020-07-19 Thread Philippe Mathieu-Daudé
On 7/17/20 11:35 AM, 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

[PATCH v2 1/4] scripts/tracetool: Fix dtrace generation for macOS

2020-07-17 Thread Roman Bolshakov
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-