Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167458
b: refs/heads/master
c: 63c9e01
h: refs/heads/master
v: v3
  • Loading branch information
Ashwin Chaugule authored and Ingo Molnar committed Oct 12, 2009
1 parent f8e5d62 commit c5c80ab
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 55621ccf2b7a8afe39df8c80f55b28424fd07d13
refs/heads/master: 63c9e01e1a0dcecc982137d527d44b5ac808b607
5 changes: 4 additions & 1 deletion trunk/tools/perf/util/parse-events.c
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,10 @@ static void store_event_type(const char *orgname)
FILE *file;
int id;

sprintf(filename, "/sys/kernel/debug/tracing/events/%s/id", orgname);
sprintf(filename, "%s/", debugfs_path);
strncat(filename, orgname, strlen(orgname));
strcat(filename, "/id");

c = strchr(filename, ':');
if (c)
*c = '/';
Expand Down

0 comments on commit c5c80ab

Please sign in to comment.