[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen staging] debugtrace: fix buffer allocation
commit bda89ca205a629cb2ae8a5cdd460c55870f2068d Author: Juergen Gross <jgross@xxxxxxxx> AuthorDate: Fri Sep 27 14:05:34 2019 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Fri Sep 27 14:05:34 2019 +0200 debugtrace: fix buffer allocation Commit 6338c9ead9ff9ef6 ("debugtrace: add per-cpu buffer option") had a rebase error when using per-cpu buffers: the global buffer address would always be set to the one of the last per-cpu buffer allocated. The result would be that when dumping the buffers the last cpu's buffer is always shown as empty as those entries are printed in the global buffer's dump already. Fix that. Signed-off-by: Juergen Gross <jgross@xxxxxxxx> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> --- xen/common/debugtrace.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/common/debugtrace.c b/xen/common/debugtrace.c index 7313e89389..a788e55b4c 100644 --- a/xen/common/debugtrace.c +++ b/xen/common/debugtrace.c @@ -259,7 +259,6 @@ static void debugtrace_alloc_buffer(struct debugtrace_data **ptr, memset(data, '\0', debugtrace_bytes + sizeof(*data)); - dt_data = data; *ptr = data; } -- generated by git-patchbot for /home/xen/git/xen.git#staging _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |