Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179375
b: refs/heads/master
c: d1303dd
h: refs/heads/master
i:
  179373: 29765f6
  179371: 02a42de
  179367: 0efa694
  179359: 8686443
v: v3
  • Loading branch information
Li Zefan authored and Steven Rostedt committed Jan 15, 2010
1 parent 3c77f9d commit 8f7f045
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 16da27a8bc7a0d050686d1b2e9efb53fab9ed226
refs/heads/master: d1303dd1d6b220cab375f24fa91a5640e54e169e
13 changes: 12 additions & 1 deletion trunk/kernel/trace/trace_events_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,18 @@ static int filter_pred_none(struct filter_pred *pred, void *event,
return 0;
}

/* Basic regex callbacks */
/*
* regex_match_foo - Basic regex callbacks
*
* @str: the string to be searched
* @r: the regex structure containing the pattern string
* @len: the length of the string to be searched (including '\0')
*
* Note:
* - @str might not be NULL-terminated if it's of type DYN_STRING
* or STATIC_STRING
*/

static int regex_match_full(char *str, struct regex *r, int len)
{
if (strncmp(str, r->pattern, len) == 0)
Expand Down

0 comments on commit 8f7f045

Please sign in to comment.