On Sun, 15 May 2016 02:27:36 +0300, "Dmitry V. Levin" wrote:
>> +if (netlink_proto) {
>> +if (asprintf(&details, "%s:[%s]", proto_name,
>> +netlink_proto) < 0)
>
> I've tried this with "ip l" command, and it printed
> , which looks redundant.
>
> Wouldn't i
On 5/14/16 6:35 PM, Dmitry V. Levin wrote:
> On Fri, May 13, 2016 at 08:13:22PM +0300, Dmitry V. Levin wrote:
>> On Wed, May 04, 2016 at 08:07:13PM -0400, je...@suse.com wrote:
>> [...]
>>> +static void
>>> +btrfs_print_objectid(uint64_t objectid)
>>> +{
>>> + const char *str = xlookup(btrfs_tree
From: Nahim El Atmani
This patch adds a basic support for the faults injection in strace.
As a reminder fault injection is something that could be really useful in many
ways for developpers and testers. It could be used in test suites context to
assert that an application behaves correctly on err
On Fri, May 13, 2016 at 12:02:37PM +, Fabien Siron wrote:
> * socketutils.c: (print_sockeaddr_by_inode): Call netlink_print.
> (netlink_send_query, netlink_parse_response, netlink_print): New functions.
> ---
> socketutils.c | 67
> ++-
>
On Fri, May 13, 2016 at 08:13:22PM +0300, Dmitry V. Levin wrote:
> On Wed, May 04, 2016 at 08:07:13PM -0400, je...@suse.com wrote:
> [...]
> > +static void
> > +btrfs_print_objectid(uint64_t objectid)
> > +{
> > + const char *str = xlookup(btrfs_tree_objectids, objectid);
>
>
> As we have both
From: Nahim El Atmani
This patch adds a basic support for the faults injection in strace.
As a reminder fault injection is something that could be really useful in many
ways for developpers and testers. It could be used in test suites context to
assert that an application behave correctly on erro