perf-probe: Add filtering features
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest4 patches 7 repliesIn review
- v38 patches 4 repliesSuperseded
- v28 patches 2 repliesApplied
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 8 patches | 4 replies | Superseded |
Changes in v4 from the cover letter
- Removes patches which already merged.
- [1/4] Update for the latest perf/core.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | perf probe: Allow to use filter on --del commandtools/ tools/ tools/ | +39 | 0 replies | |
| 2/4 | perf probe: Accept filter argument for --funcstools/ tools/ | +16 | 3 replies | |
| 3/4 | perf probe: Remove redundant cleanup of params.filtertools/ | +0 | 0 replies | |
| 4/4 | perf probe: Cleanup and consolidate command parserstools/ | +37 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH perf/core v4 0/4] perf-probe: Add filtering features
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(-)
Signature · 5 lines
Masami HIRAMATSU Linux Technology Research Center, System Productivity Research Dept. Center for Technology Innovation - Systems Engineering Hitachi, Ltd., Research & Development Group E-mail: [email protected]