Re: [PATCH -tip 1/4] [BUGFIX] perf tools: Initialize dso->node member in dso__new

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnaldo Carvalho de Melo
Date: Monday, April 26, 2010 - 7:01 am

Em Wed, Apr 21, 2010 at 03:56:16PM -0400, Masami Hiramatsu escreveu:

Trying to understand how this would be a problem, as:

static inline void __list_add(struct list_head *new,
                              struct list_head *prev,
                              struct list_head *next)
{
        next->prev = new;
        new->next = next;
        new->prev = prev;
        prev->next = new;
}

This is not a list head, just a node.

Looking at other messages where you described the problem to try to
understand why this would help.

- Arnaldo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH -tip 3/4] perf probe: Fix to exit callback soon aft ..., Masami Hiramatsu, (Wed Apr 21, 12:56 pm)
Re: [PATCH -tip 1/4] [BUGFIX] perf tools: Initialize dso-> ..., Arnaldo Carvalho de Melo, (Mon Apr 26, 7:01 am)
[tip:perf/core] perf probe: Fix to exit callback soon afte ..., tip-bot for Masami H ..., (Tue Apr 27, 5:58 am)