Displaying 20 results from an estimated 37 matches for "free_s".
2019 Jul 16
2
[PATCH libnbd] generator: Swap parameters of nbd_add_close_callback.
The API changes from:
int nbd_add_close_callback (struct nbd_handle *h,
nbd_close_callback cb,
void *user_data);
to:
int nbd_add_close_callback (struct nbd_handle *h,
void *user_data,
nbd_close_callback cb);
The second way is consistent with how other callbacks work
2012 Oct 04
8
[PATCH][BTRFS-PROGS][V3] btrfs filesystem df
Hi Chris,
this serie of patches updated the command "btrfs filesystem
df". I update this command because it is not so easy to get
the information about the disk usage from the command "fi df" and "fi show".
This patch was the result of some discussions on the btrfs
mailing list. Many thanks to all the contributors.
From the man page (see 2nd patch):
[...]
The
2016 Mar 25
3
RFC: New support for triaging optimization-related failures in front ends
...ss related optimization problems (assuming a case which fails when compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
clang -c -O2 -num-fn=-1 test.c
Optimizing function (1) prune_match
Optimizing function (2) free_S
Optimizing function (3) hash_S
Optimizing function (4) insert_S
Optimizing function (5) zero_S
Optimizing function (6) init_S
Optimizing function (7) matches_S
Optimizing function (8) clean_up
The developer would then use a binary search, recompiling with selective optimization and re-running the...
2019 Jul 16
1
[libnbd PATCH] generator: Prefer closure opaque after function pointer in C
Existing practice tends to prefer the void* closure argument for C
callbacks to occur after the function pointer (POSIX: pthread_create;
glibc: qsort_r; glib: g_thread_new; libvirt:
virConnectDomainEventRegisterAny; etc.). It's also handy to think that
calling 'myfunc(cb, arg)' will eventually result in a call to
'cb(arg)'. While I couldn't quickly find any style guide
2019 Jul 24
0
[PATCH libnbd 1/3] generator: Change Closure so it describes single callbacks.
In preparation for closure lifetimes, split up the Closure so it no
longer describes a list of closures, but a single callback.
This changes the API because functions which take 2 or more closures
now pass a separate user_data for each one.
---
docs/libnbd.pod | 3 +-
examples/strict-structured-reads.c | 2 +-
generator/generator | 760
2016 Mar 25
0
RFC: New support for triaging optimization-related failures in front ends
...blems (assuming a case which fails when compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>
> clang -c -O2 -num-fn=-1 test.c
>
> Optimizing function (1) prune_match
> Optimizing function (2) free_S
> Optimizing function (3) hash_S
> Optimizing function (4) insert_S
> Optimizing function (5) zero_S
> Optimizing function (6) init_S
> Optimizing function (7) matches_S
> Optimizing function (8) clean_up
>
> The developer would then use a binary search, recompiling with s...
2016 Mar 25
3
RFC: New support for triaging optimization-related failures in front ends
...se which fails when compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>>
>> clang -c -O2 -num-fn=-1 test.c
>>
>> Optimizing function (1) prune_match
>> Optimizing function (2) free_S
>> Optimizing function (3) hash_S
>> Optimizing function (4) insert_S
>> Optimizing function (5) zero_S
>> Optimizing function (6) init_S
>> Optimizing function (7) matches_S
>> Optimizing function (8) clean_up
>>
>> The developer would then use a b...
2016 Mar 25
6
RFC: New support for triaging optimization-related failures in front ends
...ss related optimization problems (assuming a case which fails when compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
clang -c -O2 -num-fn=-1 test.c
Optimizing function (1) prune_match
Optimizing function (2) free_S
Optimizing function (3) hash_S
Optimizing function (4) insert_S
Optimizing function (5) zero_S
Optimizing function (6) init_S
Optimizing function (7) matches_S
Optimizing function (8) clean_up
The developer would then use a binary search, recompiling with selective optimization and re-running the...
2016 Mar 25
0
RFC: New support for triaging optimization-related failures in front ends
...blems (assuming a case which fails when compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>
> clang -c -O2 -num-fn=-1 test.c
>
> Optimizing function (1) prune_match
> Optimizing function (2) free_S
> Optimizing function (3) hash_S
> Optimizing function (4) insert_S
> Optimizing function (5) zero_S
> Optimizing function (6) init_S
> Optimizing function (7) matches_S
> Optimizing function (8) clean_up
>
> The developer would then use a binary search, recompiling with s...
2016 Mar 25
0
RFC: New support for triaging optimization-related failures in front ends
...compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>>>
>>> clang -c -O2 -num-fn=-1 test.c
>>>
>>> Optimizing function (1) prune_match
>>> Optimizing function (2) free_S
>>> Optimizing function (3) hash_S
>>> Optimizing function (4) insert_S
>>> Optimizing function (5) zero_S
>>> Optimizing function (6) init_S
>>> Optimizing function (7) matches_S
>>> Optimizing function (8) clean_up
>>>
>>>...
2016 Mar 25
1
RFC: New support for triaging optimization-related failures in front ends
...(assuming a case which fails when compiled with -O2 but passes when
> compiled with -O0) would begin by using the '-num-fn=-1' option to see the
> functioning numbering.
>
> clang -c -O2 -num-fn=-1 test.c
>
> Optimizing function (1) prune_match
> Optimizing function (2) free_S
> Optimizing function (3) hash_S
> Optimizing function (4) insert_S
> Optimizing function (5) zero_S
> Optimizing function (6) init_S
> Optimizing function (7) matches_S
> Optimizing function (8) clean_up
>
> The developer would then use a binary search, recompiling with sel...
2016 Mar 25
0
RFC: New support for triaging optimization-related failures in front ends
...blems (assuming a case which fails when compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>
> clang -c -O2 -num-fn=-1 test.c
>
> Optimizing function (1) prune_match
> Optimizing function (2) free_S
> Optimizing function (3) hash_S
> Optimizing function (4) insert_S
> Optimizing function (5) zero_S
> Optimizing function (6) init_S
> Optimizing function (7) matches_S
> Optimizing function (8) clean_up
>
> The developer would then use a binary search, recompiling with s...
2016 Mar 25
2
RFC: New support for triaging optimization-related failures in front ends
...ss related optimization problems (assuming a case which fails when compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
clang -c -O2 -num-fn=-1 test.c
Optimizing function (1) prune_match
Optimizing function (2) free_S
Optimizing function (3) hash_S
Optimizing function (4) insert_S
Optimizing function (5) zero_S
Optimizing function (6) init_S
Optimizing function (7) matches_S
Optimizing function (8) clean_up
The developer would then use a binary search, recompiling with selective optimization and re-running the...
2019 Jul 24
6
[PATCH libnbd 0/3] Implement closure lifetimes.
This implements most of what I wrote here:
https://www.redhat.com/archives/libguestfs/2019-July/msg00213.html
2016 Mar 25
2
RFC: New support for triaging optimization-related failures in front ends
...se which fails when compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>>
>> clang -c -O2 -num-fn=-1 test.c
>>
>> Optimizing function (1) prune_match
>> Optimizing function (2) free_S
>> Optimizing function (3) hash_S
>> Optimizing function (4) insert_S
>> Optimizing function (5) zero_S
>> Optimizing function (6) init_S
>> Optimizing function (7) matches_S
>> Optimizing function (8) clean_up
>>
>> The developer would then use a b...
2016 Mar 25
3
RFC: New support for triaging optimization-related failures in front ends
...se which fails when compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>>
>> clang -c -O2 -num-fn=-1 test.c
>>
>> Optimizing function (1) prune_match
>> Optimizing function (2) free_S
>> Optimizing function (3) hash_S
>> Optimizing function (4) insert_S
>> Optimizing function (5) zero_S
>> Optimizing function (6) init_S
>> Optimizing function (7) matches_S
>> Optimizing function (8) clean_up
>>
>> The developer would then use a b...
2016 Mar 25
0
RFC: New support for triaging optimization-related failures in front ends
...blems (assuming a case which fails when compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>
> clang -c -O2 -num-fn=-1 test.c
>
> Optimizing function (1) prune_match
> Optimizing function (2) free_S
> Optimizing function (3) hash_S
> Optimizing function (4) insert_S
> Optimizing function (5) zero_S
> Optimizing function (6) init_S
> Optimizing function (7) matches_S
> Optimizing function (8) clean_up
>
> The developer would then use a binary search, recompiling with s...
2016 Mar 26
2
RFC: New support for triaging optimization-related failures in front ends
...t passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>>>>
>>>> clang -c -O2 -num-fn=-1 test.c
>>>>
>>>> Optimizing function (1) prune_match
>>>> Optimizing function (2) free_S
>>>> Optimizing function (3) hash_S
>>>> Optimizing function (4) insert_S
>>>> Optimizing function (5) zero_S
>>>> Optimizing function (6) init_S
>>>> Optimizing function (7) matches_S
>>>> Optimizing function (8) clean_up
>...
2016 Mar 25
0
RFC: New support for triaging optimization-related failures in front ends
...compiled with -O2 but passes when compiled with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>>>
>>> clang -c -O2 -num-fn=-1 test.c
>>>
>>> Optimizing function (1) prune_match
>>> Optimizing function (2) free_S
>>> Optimizing function (3) hash_S
>>> Optimizing function (4) insert_S
>>> Optimizing function (5) zero_S
>>> Optimizing function (6) init_S
>>> Optimizing function (7) matches_S
>>> Optimizing function (8) clean_up
>>>
>>>...
2016 Mar 26
0
RFC: New support for triaging optimization-related failures in front ends
...ed with -O0) would begin by using the '-num-fn=-1' option to see the functioning numbering.
>>>>>
>>>>> clang -c -O2 -num-fn=-1 test.c
>>>>>
>>>>> Optimizing function (1) prune_match
>>>>> Optimizing function (2) free_S
>>>>> Optimizing function (3) hash_S
>>>>> Optimizing function (4) insert_S
>>>>> Optimizing function (5) zero_S
>>>>> Optimizing function (6) init_S
>>>>> Optimizing function (7) matches_S
>>>>> Optimizing fu...