linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] perf: Fix stale comment for struct perf_addr_filter
@ 2019-04-03  6:54 Shaokun Zhang
  2019-04-03 10:40 ` [tip:perf/core] perf/headers: " tip-bot for Shaokun Zhang
  0 siblings, 1 reply; 2+ messages in thread
From: Shaokun Zhang @ 2019-04-03  6:54 UTC (permalink / raw)
  To: linux-kernel
  Cc: Shaokun Zhang, Peter Zijlstra, Ingo Molnar, Song Liu,
	Arnaldo Carvalho de Melo

inode has been removed after commit 9511bce9fe8e
("perf/core: Fix bad use of igrab()"), Let's fix the stale comment. 

Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Song Liu <songliubraving@fb.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org> 
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
---
 include/linux/perf_event.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index e47ef764f613..085a95e2582a 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -464,7 +464,7 @@ enum perf_addr_filter_action_t {
 /**
  * struct perf_addr_filter - address range filter definition
  * @entry:	event's filter list linkage
- * @inode:	object file's inode for file-based filters
+ * @path:	object file's path for file-based filters
  * @offset:	filter range offset
  * @size:	filter range size (size==0 means single address trigger)
  * @action:	filter/start/stop
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [tip:perf/core] perf/headers: Fix stale comment for struct perf_addr_filter
  2019-04-03  6:54 [PATCH] perf: Fix stale comment for struct perf_addr_filter Shaokun Zhang
@ 2019-04-03 10:40 ` tip-bot for Shaokun Zhang
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Shaokun Zhang @ 2019-04-03 10:40 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: vincent.weaver, jolsa, songliubraving, torvalds, acme, eranian,
	linux-kernel, zhangshaokun, acme, tglx, peterz, hpa,
	alexander.shishkin, mingo

Commit-ID:  1279e41d535e28cc3b56fa4a09e71a709641cae6
Gitweb:     https://git.kernel.org/tip/1279e41d535e28cc3b56fa4a09e71a709641cae6
Author:     Shaokun Zhang <zhangshaokun@hisilicon.com>
AuthorDate: Wed, 3 Apr 2019 14:54:24 +0800
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Wed, 3 Apr 2019 11:40:02 +0200

perf/headers: Fix stale comment for struct perf_addr_filter

The @inode field has been removed after:

  9511bce9fe8e ("perf/core: Fix bad use of igrab()")

Update the description.

Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Song Liu <songliubraving@fb.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Link: https://lkml.kernel.org/r/1554274464-5739-1-git-send-email-zhangshaokun@hisilicon.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 include/linux/perf_event.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index e47ef764f613..085a95e2582a 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -464,7 +464,7 @@ enum perf_addr_filter_action_t {
 /**
  * struct perf_addr_filter - address range filter definition
  * @entry:	event's filter list linkage
- * @inode:	object file's inode for file-based filters
+ * @path:	object file's path for file-based filters
  * @offset:	filter range offset
  * @size:	filter range size (size==0 means single address trigger)
  * @action:	filter/start/stop

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-03 10:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-03  6:54 [PATCH] perf: Fix stale comment for struct perf_addr_filter Shaokun Zhang
2019-04-03 10:40 ` [tip:perf/core] perf/headers: " tip-bot for Shaokun Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).