* [PATCH 0/6] perf: Deadcode - the P's
@ 2025-03-05 2:31 linux
2025-03-05 2:31 ` [PATCH 1/6] perf core: Remove perf_event_attrs and perf_event_refresh linux
` (7 more replies)
0 siblings, 8 replies; 10+ messages in thread
From: linux @ 2025-03-05 2:31 UTC (permalink / raw)
To: irogers, mark.rutland, alexander.shishkin, jolsa, adrian.hunter,
kan.liang, namhyung
Cc: peterz, mingo, acme, linux-perf-users, linux-kernel,
Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
Hi,
This is another set of perf deadcode, this is my set
all starting with 'p'. It was built on top of
perf-tools-next as of a few days ago (7788ad59d1d9).
Dave
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Dr. David Alan Gilbert (6):
perf core: Remove perf_event_attrs and perf_event_refresh
perf util: Remove unused perf_color_default_config
perf util: Remove unused pstack__pop
perf util: Remove unused perf_data__update_dir
perf util: Remove unused perf_pmus__default_pmu_name
perf util: Remove unused perf_config__refresh
include/linux/perf_event.h | 10 ----------
kernel/events/core.c | 24 ------------------------
tools/perf/util/color.h | 5 -----
tools/perf/util/color_config.c | 11 -----------
tools/perf/util/config.c | 6 ------
tools/perf/util/config.h | 1 -
tools/perf/util/data.c | 20 --------------------
tools/perf/util/data.h | 1 -
tools/perf/util/pmus.c | 29 -----------------------------
tools/perf/util/pmus.h | 1 -
tools/perf/util/pstack.c | 14 --------------
tools/perf/util/pstack.h | 1 -
12 files changed, 123 deletions(-)
--
2.48.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 1/6] perf core: Remove perf_event_attrs and perf_event_refresh
2025-03-05 2:31 [PATCH 0/6] perf: Deadcode - the P's linux
@ 2025-03-05 2:31 ` linux
2025-03-05 2:31 ` [PATCH 2/6] perf util: Remove unused perf_color_default_config linux
` (6 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: linux @ 2025-03-05 2:31 UTC (permalink / raw)
To: irogers, mark.rutland, alexander.shishkin, jolsa, adrian.hunter,
kan.liang, namhyung
Cc: peterz, mingo, acme, linux-perf-users, linux-kernel,
Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
perf_event_refresh() has been unused since the 2015
commit f63a8daa5812 ("perf: Fix event->ctx locking")
perf_event_attrs() has been unused since the 2017
commit f91840a32dee ("perf, bpf: Add BPF support to all perf_event types")
(Note the _ prefix version is still used)
Remove them.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
include/linux/perf_event.h | 10 ----------
kernel/events/core.c | 24 ------------------------
2 files changed, 34 deletions(-)
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index 8333f132f4a9..3ed023e63d6a 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -1136,7 +1136,6 @@ extern void perf_event_free_task(struct task_struct *task);
extern void perf_event_delayed_put(struct task_struct *task);
extern struct file *perf_event_get(unsigned int fd);
extern const struct perf_event *perf_get_event(struct file *file);
-extern const struct perf_event_attr *perf_event_attrs(struct perf_event *event);
extern void perf_event_print_debug(void);
extern void perf_pmu_disable(struct pmu *pmu);
extern void perf_pmu_enable(struct pmu *pmu);
@@ -1147,7 +1146,6 @@ extern int perf_event_task_enable(void);
extern void perf_pmu_resched(struct pmu *pmu);
-extern int perf_event_refresh(struct perf_event *event, int refresh);
extern void perf_event_update_userpage(struct perf_event *event);
extern int perf_event_release_kernel(struct perf_event *event);
extern struct perf_event *
@@ -1841,10 +1839,6 @@ static inline const struct perf_event *perf_get_event(struct file *file)
{
return ERR_PTR(-EINVAL);
}
-static inline const struct perf_event_attr *perf_event_attrs(struct perf_event *event)
-{
- return ERR_PTR(-EINVAL);
-}
static inline int perf_event_read_local(struct perf_event *event, u64 *value,
u64 *enabled, u64 *running)
{
@@ -1853,10 +1847,6 @@ static inline int perf_event_read_local(struct perf_event *event, u64 *value,
static inline void perf_event_print_debug(void) { }
static inline int perf_event_task_disable(void) { return -EINVAL; }
static inline int perf_event_task_enable(void) { return -EINVAL; }
-static inline int perf_event_refresh(struct perf_event *event, int refresh)
-{
- return -EINVAL;
-}
static inline void
perf_sw_event(u32 event_id, u64 nr, struct pt_regs *regs, u64 addr) { }
diff --git a/kernel/events/core.c b/kernel/events/core.c
index bcb09e011e9e..c3d9ad84bb52 100644
--- a/kernel/events/core.c
+++ b/kernel/events/core.c
@@ -3224,22 +3224,6 @@ static int _perf_event_refresh(struct perf_event *event, int refresh)
return 0;
}
-/*
- * See perf_event_disable()
- */
-int perf_event_refresh(struct perf_event *event, int refresh)
-{
- struct perf_event_context *ctx;
- int ret;
-
- ctx = perf_event_ctx_lock(event);
- ret = _perf_event_refresh(event, refresh);
- perf_event_ctx_unlock(event, ctx);
-
- return ret;
-}
-EXPORT_SYMBOL_GPL(perf_event_refresh);
-
static int perf_event_modify_breakpoint(struct perf_event *bp,
struct perf_event_attr *attr)
{
@@ -13639,14 +13623,6 @@ const struct perf_event *perf_get_event(struct file *file)
return file->private_data;
}
-const struct perf_event_attr *perf_event_attrs(struct perf_event *event)
-{
- if (!event)
- return ERR_PTR(-EINVAL);
-
- return &event->attr;
-}
-
int perf_allow_kernel(struct perf_event_attr *attr)
{
if (sysctl_perf_event_paranoid > 1 && !perfmon_capable())
--
2.48.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 2/6] perf util: Remove unused perf_color_default_config
2025-03-05 2:31 [PATCH 0/6] perf: Deadcode - the P's linux
2025-03-05 2:31 ` [PATCH 1/6] perf core: Remove perf_event_attrs and perf_event_refresh linux
@ 2025-03-05 2:31 ` linux
2025-03-05 2:31 ` [PATCH 3/6] perf util: Remove unused pstack__pop linux
` (5 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: linux @ 2025-03-05 2:31 UTC (permalink / raw)
To: irogers, mark.rutland, alexander.shishkin, jolsa, adrian.hunter,
kan.liang, namhyung
Cc: peterz, mingo, acme, linux-perf-users, linux-kernel,
Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
perf_color_default_config() was added in 2009 by
commit 8fc0321f1ad0 ("perf_counter tools: Add color terminal output
support")
but has remained unused.
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
tools/perf/util/color.h | 5 -----
tools/perf/util/color_config.c | 11 -----------
2 files changed, 16 deletions(-)
diff --git a/tools/perf/util/color.h b/tools/perf/util/color.h
index 9a7248dbe2d7..0319546decca 100644
--- a/tools/perf/util/color.h
+++ b/tools/perf/util/color.h
@@ -30,11 +30,6 @@
extern int perf_use_color_default;
-/*
- * Use this instead of perf_default_config if you need the value of color.ui.
- */
-int perf_color_default_config(const char *var, const char *value, void *cb);
-
int perf_config_colorbool(const char *var, const char *value, int stdout_is_tty);
int color_vsnprintf(char *bf, size_t size, const char *color,
const char *fmt, va_list args);
diff --git a/tools/perf/util/color_config.c b/tools/perf/util/color_config.c
index dc09ba7cb31e..301031ddc025 100644
--- a/tools/perf/util/color_config.c
+++ b/tools/perf/util/color_config.c
@@ -35,14 +35,3 @@ int perf_config_colorbool(const char *var, const char *value, int stdout_is_tty)
}
return 0;
}
-
-int perf_color_default_config(const char *var, const char *value,
- void *cb __maybe_unused)
-{
- if (!strcmp(var, "color.ui")) {
- perf_use_color_default = perf_config_colorbool(var, value, -1);
- return 0;
- }
-
- return 0;
-}
--
2.48.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 3/6] perf util: Remove unused pstack__pop
2025-03-05 2:31 [PATCH 0/6] perf: Deadcode - the P's linux
2025-03-05 2:31 ` [PATCH 1/6] perf core: Remove perf_event_attrs and perf_event_refresh linux
2025-03-05 2:31 ` [PATCH 2/6] perf util: Remove unused perf_color_default_config linux
@ 2025-03-05 2:31 ` linux
2025-03-05 2:31 ` [PATCH 4/6] perf util: Remove unused perf_data__update_dir linux
` (4 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: linux @ 2025-03-05 2:31 UTC (permalink / raw)
To: irogers, mark.rutland, alexander.shishkin, jolsa, adrian.hunter,
kan.liang, namhyung
Cc: peterz, mingo, acme, linux-perf-users, linux-kernel,
Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
The last use of pstack__pop() was removed in 2015 by
commit 6422184b087f ("perf hists browser: Simplify zooming code using
pstack_peek()")
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
tools/perf/util/pstack.c | 14 --------------
tools/perf/util/pstack.h | 1 -
2 files changed, 15 deletions(-)
diff --git a/tools/perf/util/pstack.c b/tools/perf/util/pstack.c
index a1d1e4ef6257..141ffa129c69 100644
--- a/tools/perf/util/pstack.c
+++ b/tools/perf/util/pstack.c
@@ -63,20 +63,6 @@ void pstack__push(struct pstack *pstack, void *key)
pstack->entries[pstack->top++] = key;
}
-void *pstack__pop(struct pstack *pstack)
-{
- void *ret;
-
- if (pstack->top == 0) {
- pr_err("%s: underflow!\n", __func__);
- return NULL;
- }
-
- ret = pstack->entries[--pstack->top];
- pstack->entries[pstack->top] = NULL;
- return ret;
-}
-
void *pstack__peek(struct pstack *pstack)
{
if (pstack->top == 0)
diff --git a/tools/perf/util/pstack.h b/tools/perf/util/pstack.h
index 8729b8be061d..712051b8130f 100644
--- a/tools/perf/util/pstack.h
+++ b/tools/perf/util/pstack.h
@@ -10,7 +10,6 @@ void pstack__delete(struct pstack *pstack);
bool pstack__empty(const struct pstack *pstack);
void pstack__remove(struct pstack *pstack, void *key);
void pstack__push(struct pstack *pstack, void *key);
-void *pstack__pop(struct pstack *pstack);
void *pstack__peek(struct pstack *pstack);
#endif /* _PERF_PSTACK_ */
--
2.48.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 4/6] perf util: Remove unused perf_data__update_dir
2025-03-05 2:31 [PATCH 0/6] perf: Deadcode - the P's linux
` (2 preceding siblings ...)
2025-03-05 2:31 ` [PATCH 3/6] perf util: Remove unused pstack__pop linux
@ 2025-03-05 2:31 ` linux
2025-03-05 2:31 ` [PATCH 5/6] perf util: Remove unused perf_pmus__default_pmu_name linux
` (3 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: linux @ 2025-03-05 2:31 UTC (permalink / raw)
To: irogers, mark.rutland, alexander.shishkin, jolsa, adrian.hunter,
kan.liang, namhyung
Cc: peterz, mingo, acme, linux-perf-users, linux-kernel,
Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
perf_data__update_dir() was added in 2019's
commit e8be135751f2 ("perf data: Add perf_data__update_dir() function")
but has never been used.
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
tools/perf/util/data.c | 20 --------------------
tools/perf/util/data.h | 1 -
2 files changed, 21 deletions(-)
diff --git a/tools/perf/util/data.c b/tools/perf/util/data.c
index 98661ede2a73..164eb45a0b36 100644
--- a/tools/perf/util/data.c
+++ b/tools/perf/util/data.c
@@ -158,26 +158,6 @@ int perf_data__open_dir(struct perf_data *data)
return ret;
}
-int perf_data__update_dir(struct perf_data *data)
-{
- int i;
-
- if (WARN_ON(!data->is_dir))
- return -EINVAL;
-
- for (i = 0; i < data->dir.nr; i++) {
- struct perf_data_file *file = &data->dir.files[i];
- struct stat st;
-
- if (fstat(file->fd, &st))
- return -1;
-
- file->size = st.st_size;
- }
-
- return 0;
-}
-
static bool check_pipe(struct perf_data *data)
{
struct stat st;
diff --git a/tools/perf/util/data.h b/tools/perf/util/data.h
index 110f3ebde30f..1438e32e0451 100644
--- a/tools/perf/util/data.h
+++ b/tools/perf/util/data.h
@@ -97,7 +97,6 @@ int perf_data__switch(struct perf_data *data,
int perf_data__create_dir(struct perf_data *data, int nr);
int perf_data__open_dir(struct perf_data *data);
void perf_data__close_dir(struct perf_data *data);
-int perf_data__update_dir(struct perf_data *data);
unsigned long perf_data__size(struct perf_data *data);
int perf_data__make_kcore_dir(struct perf_data *data, char *buf, size_t buf_sz);
bool has_kcore_dir(const char *path);
--
2.48.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 5/6] perf util: Remove unused perf_pmus__default_pmu_name
2025-03-05 2:31 [PATCH 0/6] perf: Deadcode - the P's linux
` (3 preceding siblings ...)
2025-03-05 2:31 ` [PATCH 4/6] perf util: Remove unused perf_data__update_dir linux
@ 2025-03-05 2:31 ` linux
2025-03-05 2:31 ` [PATCH 6/6] perf util: Remove unused perf_config__refresh linux
` (2 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: linux @ 2025-03-05 2:31 UTC (permalink / raw)
To: irogers, mark.rutland, alexander.shishkin, jolsa, adrian.hunter,
kan.liang, namhyung
Cc: peterz, mingo, acme, linux-perf-users, linux-kernel,
Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
perf_pmus__default_pmu_name() last use was removed by 2023's
commit e3edd6cf6399 ("perf pmu-events: Reduce processed events by passing
PMU")
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
tools/perf/util/pmus.c | 29 -----------------------------
tools/perf/util/pmus.h | 1 -
2 files changed, 30 deletions(-)
diff --git a/tools/perf/util/pmus.c b/tools/perf/util/pmus.c
index dd7c2ffdab38..9b5a63ecb249 100644
--- a/tools/perf/util/pmus.c
+++ b/tools/perf/util/pmus.c
@@ -714,35 +714,6 @@ bool perf_pmus__supports_extended_type(void)
return perf_pmus__do_support_extended_type;
}
-char *perf_pmus__default_pmu_name(void)
-{
- int fd;
- struct io_dir dir;
- struct io_dirent64 *dent;
- char *result = NULL;
-
- if (!list_empty(&core_pmus))
- return strdup(list_first_entry(&core_pmus, struct perf_pmu, list)->name);
-
- fd = perf_pmu__event_source_devices_fd();
- if (fd < 0)
- return strdup("cpu");
-
- io_dir__init(&dir, fd);
-
- while ((dent = io_dir__readdir(&dir)) != NULL) {
- if (!strcmp(dent->d_name, ".") || !strcmp(dent->d_name, ".."))
- continue;
- if (is_pmu_core(dent->d_name)) {
- result = strdup(dent->d_name);
- break;
- }
- }
-
- close(fd);
- return result ?: strdup("cpu");
-}
-
struct perf_pmu *evsel__find_pmu(const struct evsel *evsel)
{
struct perf_pmu *pmu = evsel->pmu;
diff --git a/tools/perf/util/pmus.h b/tools/perf/util/pmus.h
index a0cb0eb2ff97..8def20e615ad 100644
--- a/tools/perf/util/pmus.h
+++ b/tools/perf/util/pmus.h
@@ -27,7 +27,6 @@ void perf_pmus__print_raw_pmu_events(const struct print_callbacks *print_cb, voi
bool perf_pmus__have_event(const char *pname, const char *name);
int perf_pmus__num_core_pmus(void);
bool perf_pmus__supports_extended_type(void);
-char *perf_pmus__default_pmu_name(void);
struct perf_pmu *perf_pmus__add_test_pmu(int test_sysfs_dirfd, const char *name);
struct perf_pmu *perf_pmus__add_test_hwmon_pmu(int hwmon_dir,
--
2.48.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 6/6] perf util: Remove unused perf_config__refresh
2025-03-05 2:31 [PATCH 0/6] perf: Deadcode - the P's linux
` (4 preceding siblings ...)
2025-03-05 2:31 ` [PATCH 5/6] perf util: Remove unused perf_pmus__default_pmu_name linux
@ 2025-03-05 2:31 ` linux
2025-03-06 7:17 ` [PATCH 0/6] perf: Deadcode - the P's Ian Rogers
2025-03-11 16:11 ` (subset) " Namhyung Kim
7 siblings, 0 replies; 10+ messages in thread
From: linux @ 2025-03-05 2:31 UTC (permalink / raw)
To: irogers, mark.rutland, alexander.shishkin, jolsa, adrian.hunter,
kan.liang, namhyung
Cc: peterz, mingo, acme, linux-perf-users, linux-kernel,
Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
perf_config__refresh() was added in 2016 by
commit 8a0a9c7e9146 ("perf config: Introduce new init() and exit()")
but has remained unused.
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
tools/perf/util/config.c | 6 ------
tools/perf/util/config.h | 1 -
2 files changed, 7 deletions(-)
diff --git a/tools/perf/util/config.c b/tools/perf/util/config.c
index 2d07c9257a1a..ae72b66b6ded 100644
--- a/tools/perf/util/config.c
+++ b/tools/perf/util/config.c
@@ -856,12 +856,6 @@ void perf_config__exit(void)
config_set = NULL;
}
-void perf_config__refresh(void)
-{
- perf_config__exit();
- perf_config__init();
-}
-
static void perf_config_item__delete(struct perf_config_item *item)
{
zfree(&item->name);
diff --git a/tools/perf/util/config.h b/tools/perf/util/config.h
index a727c95cb119..987b47cf54c3 100644
--- a/tools/perf/util/config.h
+++ b/tools/perf/util/config.h
@@ -49,7 +49,6 @@ void perf_config_set__delete(struct perf_config_set *set);
int perf_config_set__collect(struct perf_config_set *set, const char *file_name,
const char *var, const char *value);
void perf_config__exit(void);
-void perf_config__refresh(void);
int perf_config__set_variable(const char *var, const char *value);
/**
--
2.48.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 0/6] perf: Deadcode - the P's
2025-03-05 2:31 [PATCH 0/6] perf: Deadcode - the P's linux
` (5 preceding siblings ...)
2025-03-05 2:31 ` [PATCH 6/6] perf util: Remove unused perf_config__refresh linux
@ 2025-03-06 7:17 ` Ian Rogers
2025-03-06 13:13 ` Dr. David Alan Gilbert
2025-03-11 16:11 ` (subset) " Namhyung Kim
7 siblings, 1 reply; 10+ messages in thread
From: Ian Rogers @ 2025-03-06 7:17 UTC (permalink / raw)
To: linux
Cc: mark.rutland, alexander.shishkin, jolsa, adrian.hunter, kan.liang,
namhyung, peterz, mingo, acme, linux-perf-users, linux-kernel
On Tue, Mar 4, 2025 at 6:32 PM <linux@treblig.org> wrote:
>
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> Hi,
> This is another set of perf deadcode, this is my set
> all starting with 'p'. It was built on top of
> perf-tools-next as of a few days ago (7788ad59d1d9).
>
> Dave
>
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
>
>
>
> Dr. David Alan Gilbert (6):
> perf core: Remove perf_event_attrs and perf_event_refresh
This will need to go into tip.git.
> perf util: Remove unused perf_color_default_config
> perf util: Remove unused pstack__pop
> perf util: Remove unused perf_data__update_dir
> perf util: Remove unused perf_pmus__default_pmu_name
> perf util: Remove unused perf_config__refresh
Reviewed-by: Ian Rogers <irogers@google.com>
Thanks,
Ian
> include/linux/perf_event.h | 10 ----------
> kernel/events/core.c | 24 ------------------------
> tools/perf/util/color.h | 5 -----
> tools/perf/util/color_config.c | 11 -----------
> tools/perf/util/config.c | 6 ------
> tools/perf/util/config.h | 1 -
> tools/perf/util/data.c | 20 --------------------
> tools/perf/util/data.h | 1 -
> tools/perf/util/pmus.c | 29 -----------------------------
> tools/perf/util/pmus.h | 1 -
> tools/perf/util/pstack.c | 14 --------------
> tools/perf/util/pstack.h | 1 -
> 12 files changed, 123 deletions(-)
>
> --
> 2.48.1
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 0/6] perf: Deadcode - the P's
2025-03-06 7:17 ` [PATCH 0/6] perf: Deadcode - the P's Ian Rogers
@ 2025-03-06 13:13 ` Dr. David Alan Gilbert
0 siblings, 0 replies; 10+ messages in thread
From: Dr. David Alan Gilbert @ 2025-03-06 13:13 UTC (permalink / raw)
To: Ian Rogers
Cc: mark.rutland, alexander.shishkin, jolsa, adrian.hunter, kan.liang,
namhyung, peterz, mingo, acme, linux-perf-users, linux-kernel
* Ian Rogers (irogers@google.com) wrote:
> On Tue, Mar 4, 2025 at 6:32 PM <linux@treblig.org> wrote:
Hi Ian,
Thanks for the review,
> > From: "Dr. David Alan Gilbert" <linux@treblig.org>
> >
> > Hi,
> > This is another set of perf deadcode, this is my set
> > all starting with 'p'. It was built on top of
> > perf-tools-next as of a few days ago (7788ad59d1d9).
> >
> > Dave
> >
> > Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
> >
> >
> >
> > Dr. David Alan Gilbert (6):
> > perf core: Remove perf_event_attrs and perf_event_refresh
>
> This will need to go into tip.git.
OK, do I need to split that out of the series, resend or do
anything else?
> > perf util: Remove unused perf_color_default_config
> > perf util: Remove unused pstack__pop
> > perf util: Remove unused perf_data__update_dir
> > perf util: Remove unused perf_pmus__default_pmu_name
> > perf util: Remove unused perf_config__refresh
>
> Reviewed-by: Ian Rogers <irogers@google.com>
Thanks,
Dave
>
> Thanks,
> Ian
>
> > include/linux/perf_event.h | 10 ----------
> > kernel/events/core.c | 24 ------------------------
> > tools/perf/util/color.h | 5 -----
> > tools/perf/util/color_config.c | 11 -----------
> > tools/perf/util/config.c | 6 ------
> > tools/perf/util/config.h | 1 -
> > tools/perf/util/data.c | 20 --------------------
> > tools/perf/util/data.h | 1 -
> > tools/perf/util/pmus.c | 29 -----------------------------
> > tools/perf/util/pmus.h | 1 -
> > tools/perf/util/pstack.c | 14 --------------
> > tools/perf/util/pstack.h | 1 -
> > 12 files changed, 123 deletions(-)
> >
> > --
> > 2.48.1
> >
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: (subset) [PATCH 0/6] perf: Deadcode - the P's
2025-03-05 2:31 [PATCH 0/6] perf: Deadcode - the P's linux
` (6 preceding siblings ...)
2025-03-06 7:17 ` [PATCH 0/6] perf: Deadcode - the P's Ian Rogers
@ 2025-03-11 16:11 ` Namhyung Kim
7 siblings, 0 replies; 10+ messages in thread
From: Namhyung Kim @ 2025-03-11 16:11 UTC (permalink / raw)
To: irogers, mark.rutland, alexander.shishkin, jolsa, adrian.hunter,
kan.liang, linux
Cc: peterz, mingo, acme, linux-perf-users, linux-kernel
On Wed, 05 Mar 2025 02:31:14 +0000, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> Hi,
> This is another set of perf deadcode, this is my set
> all starting with 'p'. It was built on top of
> perf-tools-next as of a few days ago (7788ad59d1d9).
>
> [...]
Applied to perf-tools-next, thanks!
Best regards,
Namhyung
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2025-03-11 16:11 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-05 2:31 [PATCH 0/6] perf: Deadcode - the P's linux
2025-03-05 2:31 ` [PATCH 1/6] perf core: Remove perf_event_attrs and perf_event_refresh linux
2025-03-05 2:31 ` [PATCH 2/6] perf util: Remove unused perf_color_default_config linux
2025-03-05 2:31 ` [PATCH 3/6] perf util: Remove unused pstack__pop linux
2025-03-05 2:31 ` [PATCH 4/6] perf util: Remove unused perf_data__update_dir linux
2025-03-05 2:31 ` [PATCH 5/6] perf util: Remove unused perf_pmus__default_pmu_name linux
2025-03-05 2:31 ` [PATCH 6/6] perf util: Remove unused perf_config__refresh linux
2025-03-06 7:17 ` [PATCH 0/6] perf: Deadcode - the P's Ian Rogers
2025-03-06 13:13 ` Dr. David Alan Gilbert
2025-03-11 16:11 ` (subset) " Namhyung Kim
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).