Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1727679
| From | Steven Rostedt <rostedt@goodmis.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 02/40] tracing: Add support to detect and avoid duplicates |
| Date | 2017-09-06 20:40 +0200 |
| Message-ID | <umNoZ-5Br-7@gated-at.bofh.it> (permalink) |
| References | <umu2Z-5m-5@gated-at.bofh.it> <umu30-5m-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 5 Sep 2017 16:57:14 -0500 Tom Zanussi <tom.zanussi@linux.intel.com> wrote: > From: Vedang Patel <vedang.patel@intel.com> > > A duplicate in the tracing_map hash table is when 2 different entries > have the same key and, as a result, the key_hash. This is possible due > to a race condition in the algorithm. This race condition is inherent to > the algorithm and not a bug. This was fine because, until now, we were > only interested in the sum of all the values related to a particular > key (the duplicates are dealt with in tracing_map_sort_entries()). But, > with the inclusion of variables[1], we are interested in individual > values. So, it will not be clear what value to choose when > there are duplicates. So, the duplicates need to be removed. > > [1] - https://lkml.org/lkml/2017/6/26/751 FYI, something like this should have: Link: http://lkml.kernel.org/r/cover.1498510759.git.tom.zanussi@linux.intel.com And avoid any non kernel.org archiving system. -- Steve > > Signed-off-by: Vedang Patel <vedang.patel@intel.com> > --- >
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 02/40] tracing: Add support to detect and avoid duplicates Tom Zanussi <tom.zanussi@linux.intel.com> - 2017-09-06 00:00 +0200
Re: [PATCH v2 02/40] tracing: Add support to detect and avoid duplicates Steven Rostedt <rostedt@goodmis.org> - 2017-09-06 20:40 +0200
Re: [PATCH v2 02/40] tracing: Add support to detect and avoid duplicates Steven Rostedt <rostedt@goodmis.org> - 2017-09-06 20:50 +0200
Re: [PATCH v2 02/40] tracing: Add support to detect and avoid duplicates "Patel, Vedang" <vedang.patel@intel.com> - 2017-09-06 23:00 +0200
csiph-web