summaryrefslogtreecommitdiffstats
path: root/include/trace/events/damon.h
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2023-09-07 04:29:29 +0200
committerAndrew Morton <akpm@linux-foundation.org>2023-10-04 19:32:21 +0200
commit2d00946bd7f4e8c17cbd2fce5fd7c3ab58046dff (patch)
tree764708748596497cf76a86dd7b342093586877f5 /include/trace/events/damon.h
parentmm/damon/core: remove duplicated comment for watermarks-based deactivation (diff)
downloadlinux-2d00946bd7f4e8c17cbd2fce5fd7c3ab58046dff.tar.xz
linux-2d00946bd7f4e8c17cbd2fce5fd7c3ab58046dff.zip
mm/damon/core: remove 'struct target *' parameter from damon_aggregated tracepoint
damon_aggregateed tracepoint is receiving 'struct target *', but doesn't use it. Remove it from the prototype. Link: https://lkml.kernel.org/r/20230907022929.91361-12-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Steven Rostedt (Google) <rostedt@goodmis.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/trace/events/damon.h')
-rw-r--r--include/trace/events/damon.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/trace/events/damon.h b/include/trace/events/damon.h
index c79f1d4c39af..0b8d13bde17a 100644
--- a/include/trace/events/damon.h
+++ b/include/trace/events/damon.h
@@ -11,10 +11,10 @@
TRACE_EVENT(damon_aggregated,
- TP_PROTO(struct damon_target *t, unsigned int target_id,
- struct damon_region *r, unsigned int nr_regions),
+ TP_PROTO(unsigned int target_id, struct damon_region *r,
+ unsigned int nr_regions),
- TP_ARGS(t, target_id, r, nr_regions),
+ TP_ARGS(target_id, r, nr_regions),
TP_STRUCT__entry(
__field(unsigned long, target_id)