[PATCH perf/core v4 0/4] perf-probe: Add filtering features

From: Masami Hiramatsu
Date: Mon May 04 2015 - 22:35:09 EST


Hi,

Here is a series of patches which improves perf-probe to add
filtering features for --del and --funcs, and cleanup code.

This version is just updated for the latest perf/core.

--del and --funcs accepts filter rules too which is more flexible
than simple wildcard.
----
# ./perf probe -d 'vfs*|malloc'
Removed event: probe:vfs_read
Removed event: probe_libc:malloc
----

Changes in v4:
- Removes patches which already merged.
- [1/4] Update for the latest perf/core.

Changes in v3:
- [1/8] Split strfilter__or() and add strfilter__and() from v2 [3/8].
Also rename strfilter__add() to strfilter__append().
- [2/8] Split strfilter__string from v2 [5/8].

Changes in v2:
- [2/8] Fix to check errors except -ENOENT on deleting events.
- [5/8] Ditto.
- [5/8] Fix to check memory allocation error in strfilter__string.
- [5/8] Fix to check errors of strfilter__string for verifying
given filter.

Thank you,


---

Masami Hiramatsu (4):
perf probe: Allow to use filter on --del command
perf probe: Accept filter argument for --funcs
perf probe: Remove redundant cleanup of params.filter
perf probe: Cleanup and consolidate command parsers


tools/perf/Documentation/perf-probe.txt | 3 -
tools/perf/builtin-probe.c | 128 ++++++++++++-------------------
tools/perf/util/probe-event.c | 102 ++++++++-----------------
tools/perf/util/probe-event.h | 2
4 files changed, 83 insertions(+), 152 deletions(-)


--
Masami HIRAMATSU
Linux Technology Research Center, System Productivity Research Dept.
Center for Technology Innovation - Systems Engineering
Hitachi, Ltd., Research & Development Group
E-mail: masami.hiramatsu.pt@xxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/