Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182383
b: refs/heads/master
c: 0eda738
h: refs/heads/master
i:
  182381: 482afb9
  182379: a3aec35
  182375: 0d0f205
  182367: ea8b6cb
v: v3
  • Loading branch information
Hitoshi Mitake authored and Ingo Molnar committed Jan 17, 2010
1 parent d0785c2 commit a565cac
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 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: 69e3f52d1b1a3ed4390bb8a09bb1324265af7fbf
refs/heads/master: 0eda7385db1f30271ade830a231006938a76fb53
19 changes: 10 additions & 9 deletions trunk/tools/perf/builtin-probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,6 @@ static int opt_del_probe_event(const struct option *opt __used,
return 0;
}

static int opt_show_lines(const struct option *opt __used,
const char *str, int unset __used)
{
if (str)
parse_line_range_desc(str, &session.line_range);
INIT_LIST_HEAD(&session.line_range.line_list);
session.show_lines = true;
return 0;
}
/* Currently just checking function name from symbol map */
static void evaluate_probe_point(struct probe_point *pp)
{
Expand All @@ -148,6 +139,16 @@ static int open_vmlinux(void)
pr_debug("Try to open %s\n", session.kmap->dso->long_name);
return open(session.kmap->dso->long_name, O_RDONLY);
}

static int opt_show_lines(const struct option *opt __used,
const char *str, int unset __used)
{
if (str)
parse_line_range_desc(str, &session.line_range);
INIT_LIST_HEAD(&session.line_range.line_list);
session.show_lines = true;
return 0;
}
#endif

static const char * const probe_usage[] = {
Expand Down

0 comments on commit a565cac

Please sign in to comment.