projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c37936
)
mm/damon: fix order of arguments in damos_before_apply tracepoint
author
Akinobu Mita
<akinobu.mita@gmail.com>
Fri, 15 Nov 2024 18:20:23 +0000
(10:20 -0800)
committer
Andrew Morton
<akpm@linux-foundation.org>
Fri, 6 Dec 2024 03:54:47 +0000
(19:54 -0800)
Since the order of the scheme_idx and target_idx arguments in TP_ARGS is
reversed, they are stored in the trace record in reverse.
Link:
https://lkml.kernel.org/r/20241115182023.43118-1-sj@kernel.org
Link:
https://patch.msgid.link/20241112154828.40307-1-akinobu.mita@gmail.com
Fixes:
c603c630b509
("mm/damon/core: add a tracepoint for damos apply target regions")
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/trace/events/damon.h
patch
|
blob
|
history
diff --git
a/include/trace/events/damon.h
b/include/trace/events/damon.h
index
23200aa
..
da4bd9f
100644
(file)
--- a/
include/trace/events/damon.h
+++ b/
include/trace/events/damon.h
@@
-15,7
+15,7
@@
TRACE_EVENT_CONDITION(damos_before_apply,
unsigned int target_idx, struct damon_region *r,
unsigned int nr_regions, bool do_trace),
- TP_ARGS(context_idx,
target_idx, scheme
_idx, r, nr_regions, do_trace),
+ TP_ARGS(context_idx,
scheme_idx, target
_idx, r, nr_regions, do_trace),
TP_CONDITION(do_trace),