diff options
Diffstat (limited to 'patches/0015-tracing-Add-per-element-variable-support-to-tracing_.patch')
-rw-r--r-- | patches/0015-tracing-Add-per-element-variable-support-to-tracing_.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/0015-tracing-Add-per-element-variable-support-to-tracing_.patch b/patches/0015-tracing-Add-per-element-variable-support-to-tracing_.patch index 6ecb342492fe..c06a44682c81 100644 --- a/patches/0015-tracing-Add-per-element-variable-support-to-tracing_.patch +++ b/patches/0015-tracing-Add-per-element-variable-support-to-tracing_.patch @@ -129,7 +129,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> * tracing_map_add_key_field - Add a field describing a tracing_map key * @map: The tracing_map * @offset: The offset within the key -@@ -277,6 +366,11 @@ static void tracing_map_elt_clear(struct +@@ -280,6 +369,11 @@ static void tracing_map_elt_clear(struct if (elt->fields[i].cmp_fn == tracing_map_cmp_atomic64) atomic64_set(&elt->fields[i].sum, 0); @@ -141,7 +141,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> if (elt->map->ops && elt->map->ops->elt_clear) elt->map->ops->elt_clear(elt); } -@@ -303,6 +397,8 @@ static void tracing_map_elt_free(struct +@@ -306,6 +400,8 @@ static void tracing_map_elt_free(struct if (elt->map->ops && elt->map->ops->elt_free) elt->map->ops->elt_free(elt); kfree(elt->fields); @@ -150,7 +150,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> kfree(elt->key); kfree(elt); } -@@ -329,6 +425,18 @@ static struct tracing_map_elt *tracing_m +@@ -332,6 +428,18 @@ static struct tracing_map_elt *tracing_m err = -ENOMEM; goto free; } |